okay so, on my game its Tacnyan vs Nyan cat, and the aim is to get to the otherside without touching one of the cats. I want the cat to glide randomly around and bounce off the walls and whatever so it can half block the other side and everything,please help!?D:
Offline
[blocks]
<when green flag clicked>
<forever>
<if on edge, bounce>
<end>
<when green flag clicked>
<point in direction( <pick random( 1 )to( 360
<forever>
<move( 3 )steps>
<end>
Is this what you were looking for?
Offline
BoltBait wrote:
How about something like this:
[blocks]<glide( <pick random( 1 )to( 3 )) )secs to x<pick random( -180 )to( 180 )) )y
<pick random( -120 )to( 120 ))[/blocks]
[blocks]Don't forget to include <if on edge, bounce>[/blocks] though
The problem with glide is that the sprite will change speed constantly. Unless you want that, of course.
Offline