Some optimisation help if any of you can

SparkyidrSparkyidr Member Posts: 2,033
edited November -1 in Working with GS (Mac)
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 (??)

Comments

  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    the number of actors is most probably the problem.

    How compressed are the sound files before bringing them into GameSalad?
  • SparkyidrSparkyidr Member Posts: 2,033
    they are all pretty small mono .caf files

    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)
Sign In or Register to comment.