Create 'Coins' at runtime (SpeedBoost)
Hi! I'm already working on a platformer and have good performance on iphone5 and pc (60fps).
on iphone4 it drops down to 30 fps. i have about 300 coins (active obj) in the frame. i always hide them,
if they are outside the screen. this does help a little bit for performance, but MUCH better is to create them at runtime, i think.
(I've deleted just the coins and got a speed boost ;) )
but how would you handle this? if i start a fastloop checking the xpos of the player i think the speedboost is gone.
isnt there some nice way to create the objects just if they are visible? (as long as the player doesnt collect them, of course)
thanks for your suggestions!