frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

How to create random position and movement for object?

How should I make an object to be positioned at a random point on the screen and move in a random direction with any angle. It should also collide with the border of the screen and again move in a random direction. How can I do all this?
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch