SlickZeroHouston, TexasMember, Sous ChefPosts: 2,870
If it's the video with the music maker, I can't hear anything. There's no sound in the video. I'm guessing that the sound doesn't play immediately after touching the button?
Do you have the Play Sound behavior firing off immediately after the attribute change, and is that set of rules at the top of the list? And what original format are your sound files, and do you know their settings for bitrate and mhz?
I'm surprised I have to say this to someone with more posts than me:
Asking "why my game have latency" ("why is there lag when i press buttons?") is like asking "Why does my car run poorly?".
You will just have to pop the hood and take a look at it. Most likely you are using some really poor behaviour systems (timers, etc) if you are lagging an iPhone 4 just playing sound effects. Actually I can almost guarantee you put your sound effects on a (every X seconds) timer.
SlickZeroHouston, TexasMember, Sous ChefPosts: 2,870
Hmm...I'm not really seeing the latency going on. It seems to be responding pretty quickly. Looks like a couple of miss touches happened. Am i missing something?
And have you made an AdHoc of this yet and tested it?
If that only happens the first time a sound is triggered, then it's because the sound is still loading in to RAM. So you'd want to 'preload it' by playing all sounds silently at the start of the scene.
Comments
Do you have the Play Sound behavior firing off immediately after the attribute change, and is that set of rules at the top of the list? And what original format are your sound files, and do you know their settings for bitrate and mhz?
Asking "why my game have latency" ("why is there lag when i press buttons?") is like asking "Why does my car run poorly?".
You will just have to pop the hood and take a look at it.
Most likely you are using some really poor behaviour systems (timers, etc) if you are lagging an iPhone 4 just playing sound effects.
Actually I can almost guarantee you put your sound effects on a (every X seconds) timer.
What you need to do is create your own timers. You can use this guide:
http://forums.gamesalad.com/discussion/44707/timers-are-for-chumps-gs-optimization-tips/p1
Also, you need to change your link from mobile to web for it to work properly (just take out the "m" at the beginning)
http://youtube.com/#/watch?v=J2JGPhQx3CI
And have you made an AdHoc of this yet and tested it?
But that the images and sounds have to load in first sounds normal? But anyway, post your demo and we can have a look.