[blocks]<when green flag clicked>[/blocks]
[blocks]<forever if><touching color[ magenta (example[/blocks]
[blocks]<change x by( -3[/blocks]
That's if your walking right --->

Offline
keroro645 wrote:
im still working that side scroller i need it so the stickman sprite wont go through a wall sprite.The script didnt work.
If he's moving ten steps to the right, then you need to change this to -10. It needs to offset how far he's moving

Offline
I put the link here (I know why it wasn't working

Offline
I added a wal to show you and some Yspeed! scratch.mit.edu/projects/CFCRubiks/183253

Offline
Try making a box that surrounds the stickman made up of four sprites. If these sprites touch the wall the a vaiable should change and the stickman won't be able to move in that direction, It is a hard but effective way to sense collisions

My Wii Friend Code 5069-3634-2461
Offline
keroro645 wrote:
Thanks it worked but i was actually thinking of making a platform,like a wall you can stand on
Well, make it. The Yspeed variable will stop when touching colro black. Want another example?

Offline
It should be under the same link

Offline
Actually, it's the Stickman test! You can still use the same link though, jsut cosse test not demo

Offline
keroro645 wrote:
ok cool i never thought of that.i was wanted to make a big block but it didnt turn out well i will post my progress in tommorow
Awesome!

Offline