This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-10-26 07:59:44

KidProgrammer
Scratcher
Registered: 2008-01-03
Posts: 56

How to stop a sprite walking over walls, etc

I want my sprite to not walk over objects in a game. I normally do this by making every wall/building its own sprite however it doesnt always work and makes an unnecessary amount of sprites and scripts.

Offline

 

#2 2012-10-26 12:15:01

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: How to stop a sprite walking over walls, etc

http://scratch.mit.edu/forums/viewtopic … 8#p1141838 is an example on how to use sensors. It should give you more control over sensing.  smile

Offline

 

#3 2012-10-26 13:24:10

KidProgrammer
Scratcher
Registered: 2008-01-03
Posts: 56

Re: How to stop a sprite walking over walls, etc

Thankyou!! I almost gave up!

Offline

 

Board footer