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 / Here is code for editing terrain using mouse

Author
Message
pdq
19
Years of Service
User Offline
Joined: 20th Jul 2006
Location:
Posted: 26th Mar 2011 14:20 Edited at: 26th Mar 2011 14:30
Some code for using your mouse to deform terrain. It is written for Blitz, but some of the code could probably be used for AT. Using "-","+" to change brush radius and "{","}" to change rate of deform. You'll get the idea as to how it works. Enjoy.

pdq
19
Years of Service
User Offline
Joined: 20th Jul 2006
Location:
Posted: 26th Mar 2011 14:33 Edited at: 26th Mar 2011 14:34
*
Wyldhunt
16
Years of Service
User Offline
Joined: 27th Sep 2009
Location: The Dark Side
Posted: 27th Mar 2011 05:34
You should add that to the codebase.
http://www.thegamecreators.com/?m=codebase_list

Login to post a reply

Server time is: 2026-07-16 23:19:28
Your offset time is: 2026-07-16 23:19:28