hello this is how to not let a sprite go through walls
when gf clicked forever if < key [ up arrow v ] pressed > change y by (3) if < touching colour [ colour of walls v ] > change y by (-2) end end if < key [up arrow v ] pressed > change y by (-3) if < touching colour [ colour of walls v ] > change y by (2) end endand so on
Offline
kieran1000 wrote:
hello this is how to not let a sprite go through walls
when gf clicked forever if <key [up arrow v] pressed?> change y by (3) if <touching color [color of walls v]?> change y by (-2) end end if <key [up arrow v ] pressed?> change y by (-3) if <touching color [ color of walls v ]?> change y by (2) end endand so on
Fixed
Last edited by 7734f (2013-04-16 19:23:36)
Offline