Uncategorized
canvas library, game improvements
Colleen’s game got slower and slower the longer you played it. I found the leak and now it runs at a consistent speed. Both games have improved clock calculations – I’m using setTimeout(variable) instead of setInterval(static). The framerate is still garbage but I hope that’s just because canvas is still so new they haven’t figured out how to make it run fast.
Yes, that’s right… it’s Mozilla’s problem… my code is puuuuurfeeect…. 😛