How do you make a sprite stop when touching a wall. I mean like when you are scrolling and there are platforms. How do you make your sprite stop immediatly when it is touching a platform or wall? I want it to be like m44's ChopShop. That what i mean by scrolling and stopping.
Thanks for helping! This is going to be used for my game NinjaX
Please post a project showing me how to do this or just post the scripts here!(i recomend you dont post scripts because i think there might be too many scripts to post and it could get confusing.)
Last edited by ScratchX (2009-11-22 21:21:38)
Offline
why don't you just download "Chop Shop" and give credit for the code.
this one did well http://scratch.mit.edu/projects/RHY3756547/715593
it's rather simple, assuming your using the ScrollX method, just put
if touching (Insert Sprite Name)
[Motion] change X[or]Y by -1
Last edited by Mitch99 (2009-11-23 14:31:40)
Offline
Mitch99 wrote:
why don't you just download "Chop Shop" and give credit for the code.
this one did well http://scratch.mit.edu/projects/RHY3756547/715593
it's rather simple, assuming your using the ScrollX method, just put
if touching (Insert Sprite Name)
[Motion] change X[or]Y by -1
hehe i did download it and i looked at the code to see if i could recreate it so its like my way but so far not working out and when i copied the code it still didnt work out so im kinda confused
Offline