not sure its better or not
This commit is contained in:
1 parent
775e8b66ec
commit
38428cf470
10 files changed
+10
-9
No files matched your search
@@ -4,7 +4,7 @@ import { fromSrc, type Sprite } from "#/lib/Sprite.ts";
|
||||
|
||||
const idle: Sprite = await fromSrc("/assets/hero/idle.png", 5, 4);
|
||||
|
||||
const { animate, process } = useEntity("barEntity", {
|
||||
const { animate, process } = useEntity(import.meta, {
|
||||
animation: createAnimation(0, 200),
|
||||
stuff: 1,
|
||||
});
|
||||
Reference in new issue
Block a user