fix: sprite animation

This commit is contained in:
cha0s 2024-08-05 13:33:09 -05:00
parent 02a124cb3e
commit d8323ed9f3

View File

@ -187,6 +187,7 @@ export default async function createHomestead(id) {
Sprite: { Sprite: {
anchorX: 0.5, anchorX: 0.5,
anchorY: 0.7, anchorY: 0.7,
animation: 'moving:down',
source: '/assets/kitty/kitty.json', source: '/assets/kitty/kitty.json',
speed: 0.115, speed: 0.115,
}, },