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 / Scene Management - A Query

Author
Message
Juggernaut
14
Years of Service
User Offline
Joined: 12th Mar 2012
Location:
Posted: 2nd Apr 2012 20:57
Hello,

Does Dark Basic pro has command set for scene management natively ?

Or do we have to take care of scene management ourselves ? If so, what data structure is suitable for games involving large world environment ?

Thanks,
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 2nd Apr 2012 21:19
Well DBPro has a native matrix which can be used for landscaping. The buildings could be made from boxes. But you are better off making your scenes from modelled parts. There are applications that make maps from models, and the positions of models are saved as data. You could make a random map as well.

How you make your scenes is up to the programmer to decide. There are probably about 10 different ways to do it.

WLGfx
18
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 2nd Apr 2012 21:49
You could always use an array of TYPE's to store you various items of data such as images, objects, particles, etc.

ie


Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
Juggernaut
14
Years of Service
User Offline
Joined: 12th Mar 2012
Location:
Posted: 3rd Apr 2012 20:02
Thank you Pincho Paxton and WLGfx for the hints.

Login to post a reply

Server time is: 2026-07-09 17:20:13
Your offset time is: 2026-07-09 17:20:13