Thursday, March 12, 2020

Making Scratch Projects :: Help With Scripts :: Delay in costume change

gor-dee : OK, I have a fix for you…
First rearrange the elephant costumes so that elephant left is costume 1, left with water is 2, right is 3, right with water is 4
then in the “IF touching water AND space key” script put
next costume
after “set has water to 1”
and
switch costume to  ((costume #) - (1)) // same as previous costume
after “set has water to 0”

then, you have two scripts with forever loops, one for left and one for right. In the middle of these is an IF THEN ELSE which you need to take out and put at the end of the corresponding “When arrow key pressed” script and delete what is left (the forever loop etc)

now it should work!

from Latest posts on Help With Scripts https://ift.tt/2IEtfVY

No comments:

Post a Comment