Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Falling dots example.

Author
Message
enderleit
17
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 27th Nov 2011 11:12
Someone commented on one of my youtube videos and asked how to make some dots fall from the top of the screen, so I made a small example to post here.

If you have any questions feel free to comment.



TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 27th Nov 2011 14:11


Nice example ^^ You should add gravity to them.

TheComet

enderleit
17
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 27th Nov 2011 16:25 Edited at: 27th Nov 2011 16:28
Added gravity, dynamic creation of dots, and different colors.
EDIT: Also, no limit to FPS, and timer-based movement.



Login to post a reply

Server time is: 2024-11-22 11:47:12
Your offset time is: 2024-11-22 11:47:12