Add reference scene template
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
- `styles.css` holds layout, HUD, overlays, and popup styling.
|
||||
- `src/main.js` runs the physics loop, spawning, scoring, and scene application; `src/ui.js` wires DOM/HUD controls and overlays.
|
||||
- `src/scenes/*.js` defines scene presets (`id`, `name`, `config`, `createBodies(width, height)`); `src/scenes/index.js` registers them to `window.PhysilinksScenes`.
|
||||
- `src/scenes/scene-template.js` is a reference-only template documenting all supported scene config options; it is not loaded by default.
|
||||
- `src/decomp-setup.js` configures `poly-decomp` for concave shapes; `src/storage.js` reads/writes per-scene highscores/records in `localStorage`.
|
||||
|
||||
## Build, Test, and Development Commands
|
||||
|
||||
Reference in New Issue
Block a user