Memory reset issue
butterbean
Member Posts: 4,315
My question is, with the memory reset issue and games crashing after so much memory building up, does that mean that later levels in the game (before the game crashes) are probably more bogged down than they would be if this bug was fixed?
Just curious, I noticed that as the game progresses, it slows down until it comes to a hault.
Any help appreciated
Just curious, I noticed that as the game progresses, it slows down until it comes to a hault.
Any help appreciated
Comments
Do a simple test by creating a spawning actor and moving the spawed actors across the screen. When they reach the opposite side destroy them on collision with another actor.
Let it run indefinitely (2 minutes) on the iPhone/touch and you will see the rates drop away until it can go no further than
2fps. I've tried added scene and game resets and nothing clears it unless you quit and restart.
Toby, that's what I figured! My levels are very graphic heavy since it's a platformer, and by the 4th scene, it will crash, so I was trying to figure if the 4th scene was too much and causing slowdown, or if it was the progression of memory usage not being reset per each new level.
Oh well ! I'll keep working on it and perfecting it until this is fixed
That makes only 1 out of 3 games I have almost complete, ready for release thus far.
do this by putting in 'cheat' actors that have rules in them like:
If player presses key '1'
go to scene level 5.
Change lives to 3
Change weapons to 5
You know, general stuff like that.
If you're testing on the iphone, just make the actor clickable so you have to press it on-screen to enable the cheats.
Hope that helps,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io