THIS IS NOT FINISHED. As of 5/27/2016, this project is designed only to work in phosphorous: http://phosphorus.github.io/#35772178 Flash is just too slow to handle screen refresh updates. This is a work-in -progress API that will eventually let anyone create games with tile-based rooms! Cool Right? Project Notes: -The update system appears to lag considerably on low-end computers, but works fine on higher-end PCs. -Lag is significantly more noticeable in the editor than on project page....does the editor slow down recursion?
Update v0.0.4 5/24/2016 : -Added fps counter Update v0.0.3 5/10/2016 : Completely re-did the update system. I did some math and came up with an algorithm. The new system only calculates the tiles that are currently on screen, enabling theoretically any size map to work with minimal lag. Update v0.0.2 5/9/2016 : Added additional optimizations. Tile data is no longer stored in 1 list item and then parsed, but separately in 3 list items to avoid parsing for every block on update, potentially avoiding as many as 10 recursions per tile. Update v0.0.1 5/9/2016 : Initially shared. Reduced render lag by replacing some unnecessary parsing and recursion with some static variables