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 / Level Editor Code Question

Author
Message
Egyptian Mua
21
Years of Service
User Offline
Joined: 7th Apr 2004
Location: htdocs
Posted: 5th Jun 2004 00:54 Edited at: 5th Jun 2004 00:56
1. If I make something with a level editor then how do I load and desplay it in DBC?
2. If I try and load a sprite after that and set up the sprite to walk then will it automaticly stop/bounce off at the walls? If not do I just half to use a colison command on the thing (matrix or level (not quiet sure))? If not what do I half to do?
3. What would you say is the best level editor (or should I use something else)? I am resecrching this now.

Thank You Vary, Vary, Vary Much!!!

-Egyptianmua
Logo, QuickBASIC, HTML, DarkBASIC
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 5th Jun 2004 10:49
1. Depends on the level editor. If you are using something like Cartography Shop that exports to .x then you can just use LOAD OBJECT. If you are using one of the Quake of Half Life level editors then you'll need to convert the .bsp or .map or whatever to a .x then use LOAD OBJECT. If you are using one of the level editors made by people on here then there is usually instructions in the program on how to use your creations in a program. Most of what I mentioned up there is 3d. For 2d just follow whatever instructions came with the level editor; however, 2d level editors are not common.

2.To do SPRITE (2 dimensional graphics) collision you can either use the sprite collision commands (sprite hit, etc. etc.), or use math to do the collision. This involves checking the x and y coordinates and sizes of one sprite with another to see if they are touching/overlapping. To do 3d collisions there are a set of 3d collision commands as well as third-party dlls you can use in your program to make collision easier.

3. The best level editor is really a matter of preference. Ideally the best is one you or if you have other people working one of them wrote specifically for the game you are making. Of course, that takes a LONG time.

Some 3d Level Editors (*requires game such as Quake/HalfLife, or file converter)
UnrealEd(need Unreal/Unreal Tournament+file converter)
Quark*(HalfLife/Quake+file converter)
Hammer*(HalfLife/Quake+file converter)
Bsp*(HalfLife/Quake/Other game that uses .bsp files+file converter)
Cartography Shop(on this site)
Level Maker 3d(in showcase on this site)
3d Map Editor(in showcase on this site)
Total Terrain*(need heightmap reader, could program yourself for matrices)
MagicWorld(in showcase on this site)
MilkShape3d(technically a 3d modeller, but same basic functions as level editor)
Multiscape(check out the Program Announcements board)
DeleD(search forums for DeleD, designed to be level editor+modeller)


Best 2d Program Ever for No Money
MS Paint

Professional 2d Programs, Expensive
Paint Shop Pro
Adobe Photoshop


Be sure to check out "The Game Programming Kit for Beginners" at the top of this board.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
Egyptian Mua
21
Years of Service
User Offline
Joined: 7th Apr 2004
Location: htdocs
Posted: 5th Jun 2004 15:25
On question number 2 if I have a large matrix/level then is there a command that will let me set up colision for the hole matrix/level

again Thank You!!!

-Egyptianmua
Logo, QuickBASIC, HTML, DarkBASIC
zane
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location: manchester, england
Posted: 5th Jun 2004 18:22
I find magic world and deleD are best for level editing. But ive never been able to get collisions to work for a magic world map.

www.zaneinteractive.uni.cc - my brand new site, check it out - NOW!!!!!
bibz1st
22
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 9th Jun 2004 22:12
Zane, what problems are you having using MW and collisions and have you got Nuclear Glory's DLL?
rob
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 13th Jun 2004 01:11
Egyptian Mua,
If the matrix/object is one complete object then you just need one collision routine for it. If you have it broken down into several different smaller objects then you need multiple collision routines.
For a matrix check out GROUND HEIGHT, for an object you need to research either the default DarkBasic commands for collision or use Nuclear Glory's collision dll.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
Egyptian Mua
21
Years of Service
User Offline
Joined: 7th Apr 2004
Location: htdocs
Posted: 30th Jun 2004 22:34
where can I get deleD?

Thank You

-Egyptianmua
Logo, QuickBASIC, HTML, DarkBASIC

Login to post a reply

Server time is: 2025-05-24 13:50:36
Your offset time is: 2025-05-24 13:50:36