I want to make a Mario game, but the goombas won't bounce off the walls. When I say bounce off the walls, I mean bounce off the wall and then move in the opposite direction. Help me please!
Offline
GenChico wrote:
In the Goomba's Scripts put
when gf click forever if on edge, bounce
or
when gf clicked forever if <touching color [red])> //set the colour to the colour of the walls turn cw (180) degrees end
Last edited by muppetds (2012-11-21 13:12:11)
Offline
nintendo828 wrote:
I want to make a Mario game, but the goombas won't bounce off the walls. When I say bounce off the walls, I mean bounce off the wall and then move in the opposite direction. Help me please!
If your walls are the edge, then do this:
when gf clicked forever whatever goes here if on edge, bounceIf your walls are not on the edge, do this:
when gf clicked forever whatever goes here if <touching [wall v]?> point in direction ((180) - (direction))
Offline