how can i change the acceleration speed ??

jomediajomedia Member Posts: 18
edited March 2012 in Working with GS (Mac)
Hello guys
i want to ask about the acceleration speed
i want my actor to go faster every time it eat a ball or object how can i do such thing ?

forgive me for my poor english

regards

Comments

  • jomediajomedia Member Posts: 18
    any help please
  • POMPOM Member Posts: 2,599
    edited March 2012
    Make a game attribute - index- call it "hero speed" - set it to 100 (for example)
    Now every time your hero eats a ball -
    Change "game.hero speed" TO "game.hero speed"+20 (or any value you want)

    Now to your accelerate behavior -
    In it you'll see "Acceleration" section , press the little "e" and choose the "game.hero speed" attribute from the expression editor as the value .

    Cheers
    Photobucket Roy
  • jomediajomedia Member Posts: 18
    thank you soooooo much i really appreciate it

    best regards
Sign In or Register to comment.