What are some game slowdown factors?

Andre87Andre87 Member Posts: 42
edited November -1 in Working with GS (Mac)
Besides graphics, what are some other factors in GameSalad that can significantly slow down the game?

Comments

  • 11clock11clock Member Posts: 450
    Too much spawn and destroy behaviors at one time. Too many timers. Too many actors on the screen at once.
  • RodrigoPerezRodrigoPerez Member Posts: 212
    Constrain attributes can slow down your game, because they are constantly checking for any changes.
  • Andre87Andre87 Member Posts: 42
    I see. Okay thanks a lot ;).
  • AppsRacKAppsRacK Member Posts: 346
    physics also adds to the load of the game as it constantly checking any changes the whole time the scene is on play. If an actor is not moving better turn off physics.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    also if you want the actor to be invisible you can uncheck visible unders its graphics attributes and that will save you more then just turning the alpha to 0
  • calvin9403calvin9403 Member Posts: 3,186
    JohnPapiomitis said:
    also if you want the actor to be invisible you can uncheck visible unders its graphics attributes and that will save you more then just turning the alpha to 0

    but if you want to display text then alpha is useful

    ________________________
    http://www.thatgameforum.com/
    http://gshelper.com/
    http://www.youtube.com/user/GameSaladCookbook#p/
    http://gamesalad.com/wiki/
  • entersimonentersimon Member, PRO Posts: 273
    Another helpful tip that I stumbled on a couple of days ago but haven't seen mentioned on the forums deals with the move behavior. If you are going to have an actor move at a constant speed then it's better to use the change velocity behavior at the speed you want, and then make another rule to change the velocity back to 0 when you want to stop. Move is essentially a constrain that checks back constantly on itself and updates speed according to how you set it up.

    This is great because it allows you to have controlled speed ups and slow downs and wave movements if you decide to use math. If you aren't using math in your movement, then stick with a change velocity behavior.

    Btw. You only want to use move or change velocity if you plan on having the actor collide with another actor. If you have no need for the actor to collide, then use interpolate when possible for your movement because it takes less resources than just about anything else in GameSalad. Interpolate also allows movement of actors that have their physics turned off (an extra bonus in the preservation of performance).
Sign In or Register to comment.