I am making a 1s1s (1 sprite, 1 script) game. I need it to sense when it is on a hill so that it can roll down. This is what I have right now:
change x by (6) if <color [#0000E3] is touching color [#0AF225]> change x by (-6) else change x by (-12) if <color [#0000E3] is touching color [#0AF225]> change x by (6) end end■ = ground color
Please [help]. Thanks! - PullJ(0)sh
Last edited by PullJosh (2012-02-26 12:23:10)
Offline
I'm afraid it isn't that easy....
I'm not even exactly sure how to do it.
Offline
Try:
Change x by 10 (or any suitable number) if <not<<color [blue] is touching color [green]>>> change [x velocity] by 5 end change x by ( - (double your original number)) if <not<<color [blue] is touching color [green]>>> change [x velocity] by -5 end change x by (your original number)
Last edited by hello12345678910 (2012-02-26 19:28:20)
Offline