snakefall
snakefall copied to clipboard
Animated movement
It's especially helpful for portals.
But never block user input.
For the block color, i have 2 suggestions.
- Use the sky color to fill in the box
- Use the colors in level 29 of snakebird
I don't like the idea of filling in the sky color, because it would be misleading if the block was actually in front of an exit or portal. I considered trying to make blocks see-through, but it's a little trickier than I want to tackle right now. Also, I don't want to do everything the way Snakebird did just because they did it that way. I think it's alright if the blocks are opaque.
Different colors for different blocks still might be a good idea.
See #20 for block color discussion.
I just pushed some code that adds some rudimentary animations.
The animations look good! Some animations that are still missing:
- When a snake exits a level, it should go through the exit, not disappear
- Teleport animations shouldn't slide the snake/block
- When falling out of the map, blocks should slide out, not disappear
This level shows the weird animations. (note that the snake & block move through the spikes when teleported, note how snake disappears when it exits the level, note how the block disappears when pushed out the bottom of the map) In this map, the snake appears to freeze in the middle of the fall.