Add basic controls

This commit is contained in:
kolaflash
2026-01-23 14:21:21 +01:00
parent 589af23e8c
commit f9a2409dad
19 changed files with 225 additions and 47 deletions
+2 -2
View File
@@ -4,14 +4,14 @@
"height": 48,
"entities": [
{
"name": "fooEntity",
"name": "hero",
"position": {
"x": 0,
"y": 0
}
},
{
"name": "fooEntity",
"name": "hero",
"position": {
"x": 24,
"y": 16
+2 -2
View File
@@ -1,7 +1,7 @@
import { useScene } from "#/engine/Scene.ts";
import { defineScene } from "#/engine/Scene.ts";
import data from "./data.json";
const { process, linkScenes } = useScene(data);
const { process, linkScenes } = defineScene(data);
linkScenes(["barScene"] as const);