Stop Start

peakprodpeakprod Member Posts: 18
edited November -1 in Working with GS (Mac)
Hi, I have an actor moving on a course that changes direction 3 times with two rotations at direction change .Im trying to simply stop and start the actor anywhere along route with a touch inside. I can stop the actor with a touch inside, but the actor will not start with another touch inside (boolian will not go to true),

All directions rules have -
Rule speed1=true

actor stops ok with rule-
speed1=true,
actor touch inside
.
But then; rule -
speed1=false,
actor speedX = 0,
actor touch 'inside'
will not Change Attribute speed1 to true. to restart the actor.
Help would be appreciated

Comments

  • chrisalchrisal Member Posts: 74
    Try to contrain attribute instead

    Actor receives touch inside

    Contrain attribute motion x 0 and motion y 0
  • peakprodpeakprod Member Posts: 18
    Hi Chrisal, thanks for prompt reply, but I dont understand, If I use Contrain surely I would still have to have a boolian 'speed1' to hold the constrain and then release it with another touch? The problem I thought was that the second touch was ineffective for some reason, but I am inexperienced with this software.
  • chrisalchrisal Member Posts: 74
    Ok sorry mis understood I think. Are you using mouse touch attribute???
  • peakprodpeakprod Member Posts: 18
    yes. I treid mouse touch for first change and mouse click for second but no change, second one does not seem to work. thanks
  • chrisalchrisal Member Posts: 74
    I have not played with this feature myself so you may need to look on the wiki or on the forums but in the actors attributes you have touch 1-4 or something like that, if I remember rightly that how you can do what your trying to do. By using touch up inside twice I think it confuses your game.
  • peakprodpeakprod Member Posts: 18
    Thanks Chrisal, I have looked at multi touch, but there is so little written about it that I cannot get my head around it. It seem s that each touch keeps an X and Y ref. But how you use it or reset it is a mystery.
Sign In or Register to comment.