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.

Code Snippets / [DBP]Some Basic Gravity

Author
Message
FireIndy
17
Years of Service
User Offline
Joined: 17th Jan 2007
Location: US of A
Posted: 10th Feb 2010 22:29
This is just some gravity in DarkBasic Pro. Hopefully I did this all right . It was just a brush up on my physics xD. Nothing special, just in case you need to apply some gravity to your objects, it supplies a basic concept.




Want to work on Desolation?
Email: davekramer@live.com ; MSN: davekramer@live.com http://www.youtube.com/watch?v=8jv73JP8_44
FireIndy
17
Years of Service
User Offline
Joined: 17th Jan 2007
Location: US of A
Posted: 11th Feb 2010 01:42 Edited at: 11th Feb 2010 04:50
Updated version that allows you to hold left mouse button to change the ycoord of a block. then dropping it applies gravity.




Want to work on Desolation?
Email: davekramer@live.com ; MSN: davekramer@live.com http://www.youtube.com/watch?v=8jv73JP8_44

Login to post a reply

Server time is: 2024-04-25 18:29:12
Your offset time is: 2024-04-25 18:29:12