Little Help Here, Please!

iOSLabiOSLab Member Posts: 57
edited November -1 in Working with GS (Mac)
If I Have 2 actors, 1 is moveable let's name it "actor 1" and the 2nd is unmoveable, Let's name it "actor2" !
The Question:
How can i make the actor 1 Accelerate when i press the Actor2?
=========================================================================
And another Question, IF I Have Levels Scene, How Can I Lock The Levels in it?
Waiting Your Help People... O.o
Love GS!!!

Comments

  • wormilwormil Member Posts: 127
    On Touch Inside event on actor 2, update a game attribute to move.
    Actor 1, On attribute == move, move.
  • wormilwormil Member Posts: 127
    level lock could be achieved by an attribute in the game saying what level is max, if level < 3, lock 3, lock 4, etc.
  • iOSLabiOSLab Member Posts: 57
    wormil said:
    On Touch Inside event on actor 2, update a game attribute to move.
    Actor 1, On attribute == move, move.

    Can you tell me step by step?
  • ChobbifaceChobbiface PRO Posts: 491
    First make a game (boolean) attribute, call it 'move' or whatever you want. Go into actor 2 - make a rule 'if touch is pressed change attribute 'move' to true. Now go into actor 1 - make a rule, if game attribute 'move' = true, then put in your move behaviour (either move, move to, accelerate or whatever behaviour you want).
  • iOSLabiOSLab Member Posts: 57
    CBL said:
    First make a game (boolean) attribute, call it 'move' or whatever you want. Go into actor 2 - make a rule 'if touch is pressed change attribute 'move' to true. Now go into actor 1 - make a rule, if game attribute 'move' = true, then put in your move behaviour (either move, move to, accelerate or whatever behaviour you want).

    Thank You, Helped So Much! ;-)
Sign In or Register to comment.