JogoShugh / SpaceMiner

SpaceMiner
http://spaceminer.azurewebsites.net
Other
4 stars 4 forks source link

D: When I use a multi-frame custom enemy by code snippet, it should animate properly, not be a giant horizontal plane #84

Open JogoShugh opened 8 years ago

JogoShugh commented 8 years ago

In applySpriteProps of game.next.js, there needs to be logic that handles this case. I think in api.next.js we'll also have to create sheets and animations based on the loading of a sprite via the setSprite mechanism. The world's default sprites, when drawn from custom sprites, have this logic elsewhere in game.next.js I think.