im making this game where there are these things u cant touch and if u do u die and i try this
<when green flag clicked>
<if><<touching[ obsticle
<stop all>
<end>
can someone hulp me?
Offline
coka wrote:
Do this instead
<when green flag clicked>
<forever if><touching[ obstacle
<stop all>
<end>
thanks dude! let me try!
Offline
stickdude123 wrote:
coka wrote:
Do this instead
<when green flag clicked>
<forever if><touching[ obstacle
<stop all>
<end>thanks dude! let me try!
OMG IT WORKS!!!!
Offline
Yes. Because your script only detects in a second. When green flag clicked, it sees if you are touching the obstacle. If it is, you die, if it isn't it stops everything. The suggested script repeats the detection forever. So thus, it works.
Offline