accelerate away?

nowherejaynowherejay Member, PRO Posts: 85
edited November -1 in Working with GS (Mac)
greetings! first time poster! been working on GS for a week now learning the ins and outs. started messing with the behaviors in the asteroids template and got the behavior accelerate towards to get some asteroids to fly towards the player, but since there is no behavior for it, how would one get the asteroids to fly away from the player? say they are flying around slow, and then suddenly accelerate away?

Comments

  • nowherejaynowherejay Member, PRO Posts: 85
    no help?
  • nowherejaynowherejay Member, PRO Posts: 85
    anyone able to help? pleeeasse?
  • nowherejaynowherejay Member, PRO Posts: 85
    hello! hmm it might be difficult, but all i want them to do is go in a random direction away form the player. so i want the player to be flying around and if it gets near one of these monsters it takes off away from the player

    thanks for the help!
  • nowherejaynowherejay Member, PRO Posts: 85
    hmmm still not figuring it out, no luck. ill keep watching this thread, hope you come back tshirtbooth! i think im on a different time schedule living in asia lol
  • calvin9403calvin9403 Member Posts: 3,186
    sugawara said:
    hmmm still not figuring it out, no luck. ill keep watching this thread, hope you come back tshirtbooth! i think im on a different time schedule living in asia lol

    I live in asia too
    TSB is online 24hrs a day lol
  • nowherejaynowherejay Member, PRO Posts: 85
    tshirtbooth said:
    Hey there, what direction do you want them to go in and what do you want to trigger them to go away?

    _________________________________________________________________________________

    NEED HELP WITH YOUR PROJECTS? NEED A QUICK FIX?
    I will give you hand on help over skype or email $25.00/30min or $40.00/1hr

    Cut the Rope Style menu Template
    Menu System #2 Template
    Cover Flow and level unlock Template
    Missile Command Template
    Tiki Totem style template
    Labyrinth Template
    FREE YOUTUBE VIDEOS

    hello! im kind of bumping this topic because its the one thing i cant shake about my game in order to go on i kind of need a bit o help with this. i would like the enemy to go in any direction fast, when they are triggered by he player character being near them. i figured out how to get some enemies to fly towards and follow the player a bit which is good but id like some to be repelled by the player also.
  • nowherejaynowherejay Member, PRO Posts: 85
    calvin9403 said:
    I live in asia too
    TSB is online 24hrs a day lol

    lol i live in japan as just another teacher, where are you calvin?
  • StuartYStuartY Member Posts: 134
    Hi, I think I can help. I've just downloaded GS and been messing around trying to achieve the same behaviour - when I realised how to do it, I had a real facepalm moment. Just use accelerate toward, but flip the acceleration value from + to -. Simple, huh?
Sign In or Register to comment.