Zoetrope is an easy to use library that helps you developed 2D games using Lua and LOVE.
Zoetrope helps you create stuff like animated sprites, basic physics, collision detection, tweens and delayed events, user input and even saves user progress.
What's New in This Release: [ read full changelog ]
· Collision detection has been overhauled. In general, collisions on a sprite are resolved in order of overlap area, so a sprite that majorly overlaps another will get first shot, before one that overlaps a little. You should always perform collision checking via collide(), and in the onCollide handler of your sprites call displace() to move sprites around. This will prevent sprites from sticking to each other.
· Event handling is now guaranteed to bubble up, so that sprites at the end of the display list now react to all events before their parent group, view, or app do.
· Maps no longer have subcollide() and subdisplace() methods – you can now just write collide() and displace() like any other sprite.
· Maps now have a spriteAtMap() and spriteAtPixel() methods that locate a sprite at a particular position, either in pixel or map coordinates.
· The onDraw handler has been removed in preparation for mobile support. If you need its functionality, you can simulate it by writing a draw() method o...