fun: shit shack
This commit is contained in:
parent
13f49813a8
commit
5db2e4905c
|
@ -130,6 +130,15 @@ export default class Engine {
|
||||||
},
|
},
|
||||||
Water: {water: {}},
|
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 = [
|
const defaultSystems = [
|
||||||
'ResetForces',
|
'ResetForces',
|
||||||
'ApplyControlMovement',
|
'ApplyControlMovement',
|
||||||
|
|
1
public/assets/shit-shack/shit-shack.json
Normal file
1
public/assets/shit-shack/shit-shack.json
Normal 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}}}
|
BIN
public/assets/shit-shack/shit-shack.png
Normal file
BIN
public/assets/shit-shack/shit-shack.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue
Block a user