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 Discussion / How can i load a level?

Author
Message
Big Shot
21
Years of Service
User Offline
Joined: 27th Apr 2004
Location: dunno...
Posted: 9th Mar 2005 21:26
I am using DeleD as my level editor, but how can I load it into my game, and will it recognise my characters ground height?

life is a risk... take it.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 10th Mar 2005 09:55
Ground height is used on matrices, not objects, so you can not use ground height when calculating where your characters are to be placed on the level. There should be an option in DeleD to export to .x

You are then able to use LOAD OBJECT "map.x", 1 and position it how you like it with POSITION OBJECT 1, X, Y, Z. For calculating how your characters will walk on it you will need to set up collision via DBC's built-in collision, Sparky's dll, or the Nuclear Glory dll.

Crazy Donut Productions
Current Project: A Redneck game
Big Shot
21
Years of Service
User Offline
Joined: 27th Apr 2004
Location: dunno...
Posted: 10th Mar 2005 19:00
how can I set up the collision? Do I need to match my y height with each object I want to climb onto?

life is a risk... take it.

Login to post a reply

Server time is: 2025-05-30 17:06:13
Your offset time is: 2025-05-30 17:06:13