Arow moving actor??

LeonardDeveloperLeonardDeveloper Member Posts: 4,630
edited November -1 in Working with GS (Mac)
I have completely gone blank,
Im sorry my friends, its painful for me to ask this but,
How do i make an arrow (onscreen GUI) move an actor??

Comments

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    Create an integer game attribute called left.

    In the arrow, create a rule saying when touch is pressed change attribute game.left to 1 otherwise change game.left to 0.

    In the actor you want to move, add a rule that says when left is 1 (add your favourite way of moving an actor in here).

    Ace
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    tshirtbooth said:
    LeonardDeveloper, let me add this.

    I see you are just starting your game and i see how your game looks.
    so NOW is the time to do this.

    YOu are going to want to incorporate some kind of multi touch.
    I just know in a week your going to post and say

    guys when I'm moving my car and i hit the jump button it will not jump unless i take my finger off the move button.

    So its best to add multi touch NOW so you have no trouble later when you have a !@#$% tone of rules in there..

    Now wait!!!!

    don't go posting hey guys how do i do multi touch :)

    email and ill send you a basic project that will get you started.

    cheers

    NEW TOUCH MAZE TEMPLATE
    NEW NEON THRUST TEMPLATE
    _______________________________________________________________________
    FOLLOW ME ON TWITTER
    KIDS PUZZLE TEMPLATE
    Awesome Cool Menu TEMPLATE
    5 Core controle elements PART 2

    Cheers TSB;
    My email Is thermoapps@gmail.com
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    mynameisace said:
    Create an integer game attribute called left.

    In the arrow, create a rule saying when touch is pressed change attribute game.left to 1 otherwise change game.left to 0.

    In the actor you want to move, add a rule that says when left is 1 (add your favourite way of moving an actor in here).

    Ace

    THANKS, but I'm gonna go ahead with multitouch!, thanks for your help anyway!!
Sign In or Register to comment.