How to add change direction on collision and random movement?
So... I started working on a game but i am stuck. I want an actor to go about randomly in any direction on the screen and bounce off from the borders into the opposite direction. But when i set collision attribute it just bounces of and collides again and again in the same spot until the actor for border itself gives it a way off screen by flipping over. SO can someone please help me with detailed instructions?
Thanks! any help is appreciated.