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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-bloop",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Create a new Bloop game",
5
5
  "type": "module",
6
6
  "bin": "./dist/index.js",
@@ -13,8 +13,8 @@
13
13
  "vite": "^7.2.2"
14
14
  },
15
15
  "dependencies": {
16
- "@bloopjs/bloop": "^0.0.82",
16
+ "@bloopjs/bloop": "^0.0.83",
17
17
  "@bloopjs/toodle": "^0.1.3",
18
- "@bloopjs/web": "^0.0.82"
18
+ "@bloopjs/web": "^0.0.83"
19
19
  }
20
20
  }
@@ -15,8 +15,8 @@
15
15
  "vite": "^7.2.2"
16
16
  },
17
17
  "dependencies": {
18
- "@bloopjs/bloop": "^0.0.82",
18
+ "@bloopjs/bloop": "^0.0.83",
19
19
  "@bloopjs/toodle": "^0.1.3",
20
- "@bloopjs/web": "^0.0.82"
20
+ "@bloopjs/web": "^0.0.83"
21
21
  }
22
22
  }
@@ -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
- state.subtitleText.text = "[Space] Local [Enter] Online";
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
  }