I'm making a game where the characters can jump from one platform to another and I can't figure out how to make the blocks (which are white) solid to jump on. Please help. If you can use scratch blocks
Offline
I'm really stuck please help!
Offline
Do you know what a sensor is? Check out jnb6355's sensor tutorial if you don't. Here's a way to use sensors. Let's say left sensor is red, right blue, up green, and down purple.
I might have done something wrong there...but that should hopefully help.Whenright arrow ▼key pressedifnotcolor touching colormove10stepsWhenleft arrow ▼key pressedifnotcolor touching colormove-10stepsWhenup arrow ▼key pressedifnotcolor touching colorchange y by10wait0.25secsrepeat untilcolor toucing colorchange y by-2
Offline
Maltese_Falcon wrote:
Do you know what a sensor is? Check out jnb6355's sensor tutorial if you don't. Here's a way to use sensors. Let's say left sensor is red, right blue, up green, and down purple.
I might have done something wrong there...but that should hopefully help.Whenright arrow ▼key pressedifnotcolor touching colormove10stepsWhenleft arrow ▼key pressedifnotcolor touching colormove-10stepsWhenup arrow ▼key pressedifchange y by10wait0.25secsrepeat untilcolor touching colorchange y by-2
Fixed something with the up arrow.
Offline
Maltese_Falcon wrote:
Maltese_Falcon wrote:
Do you know what a sensor is? Check out jnb6355's sensor tutorial if you don't. Here's a way to use sensors. Let's say left sensor is red, right blue, up green, and down purple.
I might have done something wrong there...but that should hopefully help.Whenright arrow ▼key pressedifnotcolor touching colormove10stepsWhenleft arrow ▼key pressedifnotcolor touching colormove-10stepsWhenup arrow ▼key pressedifchange y by10wait0.25secsrepeat untilcolor touching colorchange y by-2Fixed something with the up arrow.
Offline
Maltese_Falcon wrote:
Maltese_Falcon wrote:
Maltese_Falcon wrote:
Do you know what a sensor is? Check out jnb6355's sensor tutorial if you don't. Here's a way to use sensors. Let's say left sensor is red, right blue, up green, and down purple.
I might have done something wrong there...but that should hopefully help.Whenright arrow ▼key pressedifnotcolor touching colormove10stepsWhenleft arrow ▼key pressedifnotcolor touching colormove-10stepsWhenup arrow ▼key pressedifnotandcolor touching colorcolor touching colorchange y by10wait0.25secsrepeat untilcolor touching colorchange y by-2Fixed something with the up arrow.
I hope that fixed it! come on!
Offline
if
not touching colour white
change y by -3
Offline
I think this thread should go in the Help w/ Scripts forum.
Offline