ok. So here is my follow up. There were a few mistakes on my part that I overlooked :D. I made 3 errors in my prior performance statement
1. Gameplay on my iPodTouch and Acer A500 feel about the same. However tests show otherwise.
2. My setting sprite sprite should have been embeded with the create object not out side of the creat object. So my mistake was every tick I was setting states for EVERY SPRITE. Which of course will kill performance just for overhead
3. My last mistake was the blindspot on behaviours. Behaviours cost performance. Even when a behaviour does nothing it's still toll on the system and not a small one either. In the case of Pin when not pinned to anything; just having pin on all the sprites will cut peformance by a lot.
ok my test was every tick a new sprite is made if the FPS is greater than 30.
My sprite had a simple small graphic, but also had bullet and destroy on outside of layout.
*** Outside of view, Invisible, no behaviours what so ever
This is just a max object test I suppose. not much use.
Acer A500, 70k+
iTouch 5g, 16k
iTouhch 4g, 8000
*** Outside of view, visible, no behaviours what so ever
iTouch 5g, 4539 sprites
iTouhch 46, 1754
Acer A500, 20k+
*** Inside of view, invisible, no plugins
Acer A500 20k+
iTouch 5g 14k
iTouch 4g 8k
*** Inside view, visible, no plugins
AcerA500 2000
iTouch 5g, 1100
iTouch 4g, 400
*** Inside view, visible, Bullet Disabled
AcerA500 1900
iTouch 5g, 800
iTouch 4g, 300
*** Inside view, visible, Bullet Enabled speed 0.5(just for the process)
AcerA500 1700
iTouch 5g, 300
iTouch 4g, 100
*** Inside view, Invisible, Bullet Enabled speed 0.5(just for the process)
AcerA500 6000
iTouch 5g, 1000
iTouch 4g, 300
*** Outside view, visible, Bullet Enabled speed 0.5(just for the process)
AcerA500 3000
iTouch 5g, 350
iTouch 4g, 100
*** Outside view, Invisible, Bullet Enabled speed 0.5(just for the process)
AcerA500 6000
iTouch 5g, 1000
iTouch 4g, 300
*** Outside view, Invisible, pin behaviour
AcerA500 7000
iTouch 5g, 2000
iTouch 4g, 500
*** Outside view, visible, pin behaviour
AcerA500 7000
iTouch 5g, 1600
iTouch 4g, 500
*** In view, visible, pin behaviour
AcerA500 2000
iTouch 5g, 700
iTouch 4g, 200
*** In view, visible, pin behaviour, Bullet enabled(speed 0.5)
AcerA500 1500
iTouch 5g, 250
iTouch 4g, 90
*** In view, visible, Bullet enabled(speed 0.5), destroy on outside
This is a practical use for games like Space Blaster or Bullet Hell games
AcerA500 1500
iTouch 5g, 250
iTouch 4g, 80
Sooooo what do I take away from this. When designing mobile games. Minimize the use of behaviours. Much to my surprise they do hit performance and what may seem not so much can actually be really heavy. Sprites with no behaviours provide ample good performance even on old hardware.
Keeping in mind that those above values are numbers that are causing FPS to drop to 30fps
You might want to include that somewhere. The inclusion of behaviours will impact performance; so be frugal :D.
Here is my CAPX. I added and removed behaviours as noted above. The last state was used for testing bullet hell situation.
drive.google.com/file/d/0B0V2EvCXNzYUaDE2YW1QbHpfRjQ/edit