refactor: simplicity
This commit is contained in:
parent
461ed12562
commit
1d6d4449fd
|
@ -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: {},
|
||||||
});
|
});
|
||||||
|
|
|
@ -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}}}
|
|
Loading…
Reference in New Issue
Block a user