how do i make one sprite not able to go through another kind of like pac-man not being able to go thru walls?
Offline
Make it always point in the direction it's facing. For example, you could use this script:
when gf clicked forever if <key [left arrow v] pressed?> point in direction (-90) move [10] steps end if <key [right arrow v] pressed?> point in direction (90) move [10] steps end if <key [up arrow v] pressed?> point in direction (0) move [10] steps end if <key [down arrow v] pressed?> point in direction (180) move [10] steps endThen add a script like this:
forever if <touching [wall v]?> move [-10] steps end
Offline