fun: shit shack

This commit is contained in:
cha0s 2024-06-29 09:54:45 -05:00
parent 13f49813a8
commit 5db2e4905c
3 changed files with 10 additions and 0 deletions

View File

@ -130,6 +130,15 @@ export default class Engine {
},
Water: {water: {}},
});
await ecs.create({
Position: {x: 100, y: 100},
Sprite: {
anchor: {x: 0.5, y: 0.8},
animation: 'shit-shack/shit-shack/0',
source: '/assets/shit-shack/shit-shack.json',
},
VisibleAabb: {},
});
const defaultSystems = [
'ResetForces',
'ApplyControlMovement',

View File

@ -0,0 +1 @@
{"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}}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB