Some optimisation help if any of you can
Sparkyidr
Member Posts: 2,033
so.. ok
I have an app on the iPad "iTonal HD"
it's basically a tonepad clone, but with a choice of sounds etc
aaaaaanyways
So the way it works is, I have a grid of 256 tone actors (instances of 16 prototypes) that basically have rules set up to make them on or off, and then rules to play the sounds when my tempo bar actor passes over them.
Everything is set to be non moveable and the graphics are UBER minimal, but performance is pretty dire when you have a lot of the pads turned on, and it's playing the .caf file related to said pad. It stutters a bit, and sometimes drops playing the sample.
Anyone got any more optimisation tips?
I've recently been thinking of re-making how it all works to see if I can make it perform better, but my logic seems really robust, I think the fact that it's 256 actor instances onscreen, all with 5 or so rules that's giving me the issues (??)
I have an app on the iPad "iTonal HD"
it's basically a tonepad clone, but with a choice of sounds etc
aaaaaanyways
So the way it works is, I have a grid of 256 tone actors (instances of 16 prototypes) that basically have rules set up to make them on or off, and then rules to play the sounds when my tempo bar actor passes over them.
Everything is set to be non moveable and the graphics are UBER minimal, but performance is pretty dire when you have a lot of the pads turned on, and it's playing the .caf file related to said pad. It stutters a bit, and sometimes drops playing the sample.
Anyone got any more optimisation tips?
I've recently been thinking of re-making how it all works to see if I can make it perform better, but my logic seems really robust, I think the fact that it's 256 actor instances onscreen, all with 5 or so rules that's giving me the issues (??)
Comments
How compressed are the sound files before bringing them into GameSalad?
I originally had them as .ogg, but the loading time was horrendous.
(I think .caf are streamed as needed rather then loaded into memory at the start of a scene)