Stop working on the graph
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "fuzzScene",
|
||||
"width": 240,
|
||||
"height": 160,
|
||||
"entities": [
|
||||
{
|
||||
"name": "barEntity",
|
||||
"position": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "barEntity",
|
||||
"position": {
|
||||
"x": 24,
|
||||
"y": 16
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import { useScene } from "#/engine/Scene.ts";
|
||||
import data from "./data.json";
|
||||
|
||||
const { process, linkScenes } = useScene(data);
|
||||
|
||||
linkScenes(["testScene"] as const);
|
||||
|
||||
process((_ctx, _delta) => {});
|
||||
@@ -3,6 +3,6 @@ import data from "./data.json";
|
||||
|
||||
const { process, linkScenes } = useScene(data);
|
||||
|
||||
linkScenes(["fooScene", "barScene"] as const);
|
||||
linkScenes(["fooScene", "fuzzScene"] as const);
|
||||
|
||||
process((_ctx, _delta) => {});
|
||||
|
||||
Reference in New Issue
Block a user