create-bloop 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -164,7 +164,10 @@ export function draw(g: typeof game, toodle: Toodle, state: DrawState) {
|
|
|
164
164
|
|
|
165
165
|
// Update title text based on phase
|
|
166
166
|
if (bag.phase === "title") {
|
|
167
|
-
|
|
167
|
+
const isMobile = toodle.resolution.width < toodle.resolution.height;
|
|
168
|
+
state.subtitleText.text = isMobile
|
|
169
|
+
? "Tap to find opponent"
|
|
170
|
+
: "[Enter/Click] Online [Space] Local";
|
|
168
171
|
} else if (bag.phase === "waiting") {
|
|
169
172
|
state.subtitleText.text = "Waiting for opponent...";
|
|
170
173
|
}
|