I'm making a scrolling platform game. I have sorted out all the movement, jumping and variables, but I don't know how to make wall sensors. I've tried looking on scratch wiki, but it didn't help much. I have to finish this game quite soon, so please help me as soon as you can.
Offline
This is not an Advanced Topic. You will receive more help in the correct section.
I reported this to be moved to All About Scratch. That is where you want to put questions like this.
Offline
Thank you. I think I've figured it out. I have not tested this yet, but in theory this should work:
top sensor:
when green flag clicked
|forever
|go to x:(x position of player) y:<(y position of player)+[5]|
|forever if<touching colour [wall colour]|
|broadcast [up bump]|
player:
when I receive [up bump]
|change [y velocity] by [-15]
Offline