Performance
Hey guys,
my game is nearly finished, it has a size of 12.6mb. I hope that this is okay for a game?
Now how do I improve my game performance, make it loading scenes faster and when a level is loaded, the first move or the first 0.2 sec it sticks a little bit and then goes on ....
Thanks for help
my game is nearly finished, it has a size of 12.6mb. I hope that this is okay for a game?
Now how do I improve my game performance, make it loading scenes faster and when a level is loaded, the first move or the first 0.2 sec it sticks a little bit and then goes on ....
Thanks for help
Comments
Concerning an Game..
And I wish we could turn off that "spinning wheel" thing that reminds people that they are waiting.
-for some reason, "music" audio loads faster than "sound" audio
-the viewer timing is sometimes faster or slower than the device's timing (by timing i mean process timing)
-ImageOptim (which is free) is a GREAT tool for shrinking image file size. I was able to reduce 1mb, 4mb even 6mb one time with this tool.
those are my 2 cents. can't wait too see your game in actions good luck with sales!
@3xL: I hope it is finished this week and ready for the app store
Also http://gamesalad.com/wiki/optimizing_for_iphone
Some other common issues i've noticed are particles with a large number of particles being spawned at once or changing the size to something massive for particles.
Not recycling, or moving actors off screen when they are done being used. (destroy does not fully remove the actor)
Also 12mb is fairly small for a game, depending on the length of the game and what the game is.
I got around 50-60 fps. And my memory usage is around 70mb, then 10 from 15 levels are played.
It is not the loading of the scenes, that's "okay" ...but when jumping with my actor, there is a little delay which is really uncool
thx
I have 35mb image memory, thats too much or? How do I get this down
thx
But there is only a few actors with not many rules in it...
You might want to go through your game file (make a back up) and start removing things one by one to see if one thing is really killing the memory. Start with actors, then if you notice one actor seems to be causing it, go in and start removing rules one by one. Basically process of elimination.
Two buttons for left and right movement
one button for jump
two buttons for menu and restart
5 actors with alpha first set 0 and then set to 1
3 Actors also set alpha 0 to 1
And music and sounds
My main character
Thats all ...
I removed some actors that can be removed but still 52mb
How much mb should one level have?
thx
Then I tried to remove him completely from the scene and again 30mb. I thought maybe a rule is wrong or... so I wrote all rules again... again 56mb..
I really don't know what's the problem
thx Alex
I am wrecking my a** off
work on the game
And what I did was resizing the images, now in Level 1 I have an total memory usage of
34,6mb
I also switched of the physic's moveable on all actors ....
thx..now it's time to go to bed, school starts in a few hours
Yeah from 56 to 34mb
Or is this okay?
Something really annoying is that the Jump movements lag
a little bit. I used change velocity y for that? Some improvements or?
I play my app, and I have to reset my level because I failed, memory usage raises and raises
For reset button I said reset scene and change attributes zero....
That's the only problem now...please can someone help me
just increases when I reset the level to play again
I really don't know
I reseted my level 30 times and game engine was at 50mb
Please help me, game is then finished
refresh, total usage increases only 0,1mb. I think that's okay.But when I come to the levles with plattforms moving up and down, ( when actor collides with, change attribute to 1, destroy actor, level failed), total usage increases up to 0.8mb eacht time, that's pretty uncool...
Does somebody know what to do?
thx