HELP: my game is huge and i need optimization help

digitalzerodigitalzero Member, BASIC Posts: 639
edited July 2012 in Working with GS (Mac)
so more than likely my game is going to be SUPER freaking huge! like im talking about like huge as F^$( so i was wondering how i can possibly optimize my game so that it dont lag at all... now i have done the whole self.time thing so yeah but im talking that my game is at least going to have 250 images (a lot of them are going to be animated) and about 100 actors. yeah its going down BOYEE! so yeah someone help me please with any suggestions you can please and thank you

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Make sure to turn PreLoad art off on all images except ones that you see right away when you enter a scene.

    Turn off movable on actors that don't move..

    You might also want to convert all of your attributes to tables..That saves a lot of Ram, im sure.
  • ekelrockekelrock Member Posts: 34
    There are a ton of threads on optimization, but I'll just throw a few ideas out there. Getting rid of Timers and Constrain Attributes seems to help. Not spawning actors or recycling them (if you need a spawn effect) also helps. Try using PNG8 instead of PNG24 for saving images, as it generally reduces the size. Also, if you can remove the transparency from images, that can help cut down the size as well. You can also try breaking images up so you can use them in multiple places (EG: if all of your buttons look the same but have different words or symbols on them, try making a blank button image and overlaying the words as separate actors in Gamesalad). Reducing the pixel size of the images obviously cuts down on the size of the image...

    If you can get away from animations for any of your actors, that should help as well because animations are a bunch of images for one actor. Anywhere where you can use a rotate actor, move actor, change color, or a particle effect, instead of an animation, you could change those out.

    And solid logic in the code will greatly improve performance.

    That's all I can think of off the top of my head...

    Good luck!
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    The key to avoiding lag is refining your code. It does take a lot of thinking and a very good grasp on logic.
  • digitalzerodigitalzero Member, BASIC Posts: 639
    how do i go about using the preload image thing... i never knew anything about it
  • UtopianGamesUtopianGames Member Posts: 5,692
    We have a free tool on our site for this and also an optimizer but that's a paid for tool.

    Darren.
  • digitalzerodigitalzero Member, BASIC Posts: 639
    can you send me the link of the tool and does it have what it does on it and whatnot in a description
  • gotyoursgotyours Member Posts: 246
    the deep blue app works great, i would go with that
  • gambetgambet Member Posts: 38
    what is the current version of gs optimizer? i have a version 0.2.7. Is it possible to download the latest version if you bought old version
Sign In or Register to comment.