evolutionary-arcade 0.4.0 → 0.4.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.1
4
+
5
+ - The publishing guide's vertical demo encode keeps the recording's shape (`scale=1080:-2`). The old `scale=1080:1920` squashed a 390x844 phone capture by about 18%.
6
+
3
7
  ## 0.4.0
4
8
 
5
9
  - Games ship media for phones. arcade.json has `orientation` (`"landscape"`, `"portrait"`, or `"both"`; leaving it out means landscape) and `media_vertical`, a 9:16 set with the same fields as the landscape one (`thumbnail`, `screenshots`, `demo_video`, `preview_video`, `preview_gif`). The top-level media fields are the landscape set.
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import { dirname, isAbsolute, join } from "path";
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "evolutionary-arcade",
16
- version: "0.4.0",
16
+ version: "0.4.1",
17
17
  description: "The arcade CLI for Evolutionary Arcade. Publish, update, regen, fork, and blend AI-made browser games with your own coding agent.",
18
18
  type: "module",
19
19
  license: "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evolutionary-arcade",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "The arcade CLI for Evolutionary Arcade. Publish, update, regen, fork, and blend AI-made browser games with your own coding agent.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -150,7 +150,7 @@ await p.goto("http://localhost:5173/?autopilot");
150
150
  await p.tap("canvas"); // a tap, not a click
151
151
  ```
152
152
 
153
- Encode the vertical demo at 1080x1920: `ffmpeg -ss 4 -i ../rec/vertical/<file>.webm -t 24 -an -vf scale=1080:1920 -c:v libx264 -pix_fmt yuv420p -crf 23 -movflags +faststart media/vertical/demo.mp4`.
153
+ Encode the vertical demo at 1080 wide, keeping the recording's own shape (a 390x844 phone is taller than 9:16, so never force 1920 high or it squashes): `ffmpeg -ss 4 -i ../rec/vertical/<file>.webm -t 24 -an -vf scale=1080:-2 -c:v libx264 -pix_fmt yuv420p -crf 23 -movflags +faststart media/vertical/demo.mp4`.
154
154
 
155
155
  **Choose the vertical treatment by orientation:**
156
156
  - **portrait or both:** real upright play. Save the vertical thumbnail and 2 to 4 screenshots in `media/vertical/`, the demo as `media/vertical/demo.mp4`, list them under `media_vertical`, then run `arcade media vertical`: it cuts the vertical hover preview (480x854) and GIF from your vertical demo. For `both`, still capture the landscape set at 1280x720; desktop shows it.