spawner causing hiccups in game
Kangavark
Member Posts: 62
hey there,
I'm polishing my game, an endless runner variant, and I notice whenever I test it on my device (via GS Preview and adhoc), the first few seconds of gameplay is little choppy, and then smooths out after a few seconds.
I've narrowed the source down to the spawner that generates 6 actors at the beginning of the game. I have a timer in it that says for 5 seconds, spawn actors. Those actors then recycle throughout the rest of the game.
I'm in the process of optimizing it and replacing the timers per the "timers are for chumps" topic. But are there any other ideas as to what could be causing the hiccups in the game?
I used Xcode's "Instruments" to try and pinpoint exactly what/where/when, but I couldn't find anything...
thanks for reading
I'm polishing my game, an endless runner variant, and I notice whenever I test it on my device (via GS Preview and adhoc), the first few seconds of gameplay is little choppy, and then smooths out after a few seconds.
I've narrowed the source down to the spawner that generates 6 actors at the beginning of the game. I have a timer in it that says for 5 seconds, spawn actors. Those actors then recycle throughout the rest of the game.
I'm in the process of optimizing it and replacing the timers per the "timers are for chumps" topic. But are there any other ideas as to what could be causing the hiccups in the game?
I used Xcode's "Instruments" to try and pinpoint exactly what/where/when, but I couldn't find anything...
thanks for reading
Comments
Can you explain the spawn rule a bit more? I'm guessing it's not as simple as:
Spawn [actor]
Spawn [actor]
Spawn [actor]
Spawn [actor]
Spawn [actor]
Spawn [actor]
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User