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.

DarkBASIC Professional Discussion / How to make Gravity

Author
Message
FishCube
12
Years of Service
User Offline
Joined: 31st Jul 2013
Location:
Posted: 17th Feb 2014 03:06
so i am making a game about placing blocks and building and i have made it so that you can walk up blocks like stairs, how ever i cant figure out how to make them come back down. I have tried lots of things it either glitches them through the floor or makes the camera go weird. Here is the game in action The Builder Game

And here is the source code:



If you could show me how to make gravity that would be great. Also if there is anything i could do to make the code better that would be nice. And if yo have any tips about how to make blocks place able then i would love to hear that too. Thanks for the help as always guys!

-FishCube-

Login to post a reply

Server time is: 2026-07-06 10:33:59
Your offset time is: 2026-07-06 10:33:59