here's an idea: when an apple lands on the spot where one already resides simply add 1 to the latter's count and despawn the former, there are only so many places where they can land so this should (in theory) keep memory usage in check.
yeah, that's a good way of solving this, I doubt i'll be updating it though since it was a Ludum Dare entry and i like to keep them in all their broken glory. :P
Maybe one day I'll revise all of them and make a compilation or something.
← Return to game
Comments
Log in with itch.io to leave a comment.
not exactly sure if i beat it or not, i made the portal thing then it said game over?
i keep getting stuck in the platforms, plz help
A late reply coming through:
Yep, I messed up some collision detection on that one. ;)
beat it :D, was fun, it did lag once all trees and upgrades were maxed out, but still playable.
game ran out of memory.
Hi, yeah it'll happen eventually since i added no limit to how many apples can spawn, and I didn't really do anything to optimize this.
Thanks for pointing it out though.
here's an idea: when an apple lands on the spot where one already resides simply add 1 to the latter's count and despawn the former, there are only so many places where they can land so this should (in theory) keep memory usage in check.
yeah, that's a good way of solving this, I doubt i'll be updating it though since it was a Ludum Dare entry and i like to keep them in all their broken glory. :P
Maybe one day I'll revise all of them and make a compilation or something.