running slow - quick question
Hi guys, I'm currently testing my game 'Ninja Tap' on the iphone and it's going pretty well so far. I sorted out all the blurry images and it looks very nice and crisp now. Only problem is that the game slows down (frame rate) and gets a bit shuddery when things start to get a little hectic on screen. I am testing on an iphone 3G and will also test it on a friends iphone 4 tomorrow.
So my question is, what would be mostly causing the slow down:
1) too many actors/images spawning on screen at once
2) actor images are too big (sprites are png24 at 72dpi - roughly 100-200kb each)
3) too many conditions/rules all happening at once
4) all of the above
Ideally I'd like it to run smoothly at least on 3G model and above.
So my question is, what would be mostly causing the slow down:
1) too many actors/images spawning on screen at once
2) actor images are too big (sprites are png24 at 72dpi - roughly 100-200kb each)
3) too many conditions/rules all happening at once
4) all of the above
Ideally I'd like it to run smoothly at least on 3G model and above.
Comments
There really is a lot spawning at the end (maybe 20 actors per second) so I'll cut that down. The idea was to feel overwhelmed at the end, but I think I can scale it back without losing that feeling.
Thanks.
My only problem is I want them to spawn/appear at different (random) locations each time. I suppose I would have them interpolate to a random spot, then become visible (and hittable). I'll try that and see if there is much difference.
Thanks!