This commit is contained in:
kolaflash
2025-12-25 20:01:32 +01:00
parent e5bc240056
commit c6b1755d32
15 changed files with 140 additions and 70 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"id": "fooScene",
"width": 80,
"height": 48,
"entities": [
{
"id": "fooEntity",
"position": {
"x": 24,
"y": 16
}
}
]
}
+6
View File
@@ -0,0 +1,6 @@
import { useScene } from "#/engine/Scene.ts";
import data from "./data.json";
const { process } = useScene(data);
process((_ctx, _delta) => {});
+1 -1
View File
@@ -11,7 +11,7 @@
}
},
{
"id": "testEntity",
"id": "fooEntity",
"position": {
"x": 16,
"y": 16