Planimeter / game-engine-2d

Planimeter Game Engine 2D - LÖVE-based game engine for Lua
https://github.com/Planimeter/game-engine-2d/wiki
MIT License
738 stars 74 forks source link

camera.drawToWorld() draws next frame #31

Closed andrewmcwatters closed 9 years ago

andrewmcwatters commented 9 years ago

Any functions pushed to be drawn to the world lag behind a frame, due to the hierarchy in which they're pushed.

Fixing this requires a pre-world draw pass for gui elements, in order to know where the worldspace panels need to end up.

andrewmcwatters commented 9 years ago

I'll try and finish this last one this weekend. I really should focus more time on the features page for /grid but it'll come when it does.

andrewmcwatters commented 9 years ago

This is fixed upstream and just needs to be code dropped.

andrewmcwatters commented 9 years ago

Fixed in v1.6.0