create-bloop 0.0.10 → 0.0.12

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.10",
3
+ "version": "0.0.12",
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.83",
16
+ "@bloopjs/bloop": "^0.0.84",
17
17
  "@bloopjs/toodle": "^0.1.3",
18
- "@bloopjs/web": "^0.0.83"
18
+ "@bloopjs/web": "^0.0.84"
19
19
  }
20
20
  }
@@ -15,8 +15,8 @@
15
15
  "vite": "^7.2.2"
16
16
  },
17
17
  "dependencies": {
18
- "@bloopjs/bloop": "^0.0.83",
18
+ "@bloopjs/bloop": "^0.0.84",
19
19
  "@bloopjs/toodle": "^0.1.3",
20
- "@bloopjs/web": "^0.0.83"
20
+ "@bloopjs/web": "^0.0.84"
21
21
  }
22
22
  }
@@ -59,7 +59,7 @@ let networkJoined = false;
59
59
  // Debug: Press R to start recording mid-game
60
60
  window.addEventListener("keydown", (e) => {
61
61
  if (e.key === "r" && !app.sim.isRecording) {
62
- app.sim.record();
62
+ app.sim.record(100_000);
63
63
  console.log("Started recording at frame", app.sim.time.frame);
64
64
  }
65
65
  });
@@ -46,7 +46,9 @@ async function loadTape(bytes: Uint8Array, fileName: string) {
46
46
  });
47
47
 
48
48
  // Load the tape and pause playback
49
- app.loadTape(bytes);
49
+ app.loadTape(bytes, {
50
+ checkpointInterval: 30,
51
+ });
50
52
  app.sim.pause();
51
53
 
52
54
  const canvas = app.canvas;