refactor: simplicity

This commit is contained in:
cha0s 2024-07-01 22:23:39 -05:00
parent 461ed12562
commit 1d6d4449fd
2 changed files with 1 additions and 3 deletions

View File

@ -146,8 +146,7 @@ export default class Engine {
Position: {x: 100, y: 100}, Position: {x: 100, y: 100},
Sprite: { Sprite: {
anchor: {x: 0.5, y: 0.8}, anchor: {x: 0.5, y: 0.8},
animation: 'shit-shack/shit-shack/0', source: '/assets/shit-shack/shit-shack.png',
source: '/assets/shit-shack/shit-shack.json',
}, },
VisibleAabb: {}, VisibleAabb: {},
}); });

View File

@ -1 +0,0 @@
{"animations":{"shit-shack/shit-shack/0":["shit-shack/shit-shack/0"]},"frames":{"shit-shack/shit-shack/0":{"frame":{"x":0,"y":0,"w":110,"h":102},"spriteSourceSize":{"x":0,"y":0,"w":110,"h":102},"sourceSize":{"w":110,"h":102}}},"meta":{"format":"RGBA8888","image":"./shit-shack.png","scale":1,"size":{"w":110,"h":102}}}