This commit is contained in:
kolaflash
2026-01-09 00:42:48 +01:00
parent 3c786441bb
commit f96fd337da
2 changed files with 11 additions and 5 deletions
+7 -1
View File
@@ -5,6 +5,12 @@ const { process, preProcess, linkScenes } = useScene(data);
linkScenes(["fooScene", "fuzzScene"] as const);
preProcess(() => {});
preProcess((entityInstanceMap) => {
const entity = entityInstanceMap.get(data.entities[0].name);
const instance = entity!.instances[0];
instance.position.x = data.width - 16;
instance.position.y = data.height - 16;
});
process((_ctx, _delta) => {});