minimojs 1.0.0-alpha.34 → 1.0.0-alpha.36

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/dist/minimo.js CHANGED
@@ -2216,6 +2216,15 @@ export class Game {
2216
2216
  isPointerCancelled() {
2217
2217
  return this._inputSystem.isPointerCancelled();
2218
2218
  }
2219
+ /**
2220
+ * The canvas the game draws on, for a module in this package that lays HTML
2221
+ * over it, as `leaderboard` does with its table. Games never need it.
2222
+ *
2223
+ * @internal
2224
+ */
2225
+ getCanvasElement() {
2226
+ return this._canvas;
2227
+ }
2219
2228
  /**
2220
2229
  * Returns `true` while any active pointer is held down over the target sprite.
2221
2230
  * Works with both mouse input and multiple simultaneous touches.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minimojs",
3
- "version": "1.0.0-alpha.34",
3
+ "version": "1.0.0-alpha.36",
4
4
  "description": "MinimoJS v1 — ultra-minimal, flat, deterministic 2D web game engine. Image-first sprites with emoji as a zero-asset alternative, rAF loop, TypeScript-first, LLM-friendly.",
5
5
  "type": "module",
6
6
  "main": "dist/minimo.js",