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 / complex objects??? or not

Author
Message
mihaid
14
Years of Service
User Offline
Joined: 24th Feb 2012
Location:
Posted: 7th Oct 2012 10:18
Hello, I have this question:

I created an object in 3d world studio (no terrain). The object Is a complex one, a house, I can go inside, climb some stairs, etc...
I want to know how to import in an Dark basic program, and to keep the property from 3d world studio program, not only to declare object collision of or no, to have again possibility to go inside the house, climb the stairs, so on.... the terrain can be made in a different way, (matrix, blitzwerks terrain)

Mihai
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 7th Oct 2012 10:36
well, i suggest you to export the stairs alone, cuz for stairs you will have to make your own climbing function, thats why you have to check 'on object hit' (player and stairs)
so lets say your map aint that huge, you can export it all into 1 model, then create collision on it using Sparky COllision (my suggestion)
the stairs export alone.

Advanced Updater for your games!
mihaid
14
Years of Service
User Offline
Joined: 24th Feb 2012
Location:
Posted: 7th Oct 2012 11:03
Thank you Sergey,

The stairs were only an example, but I have some more complex object, which was easy to build in 3d world studio, but much more difficult to create in dbp.

Finaly I can show my first game, "Island of Robinson" !!..BETA Version !!!!. It can be downloaded from the site which I specially created www.islandofrobinson.com.

It will be nice if if you have time, will take a look, and PLEASE HAVE MERCY !!!!, Dont forget I'm a beginner !!!!!!

I know very well, the game can be made in better way, I know the game can be made more professional and more efficient. All this will come in time, I want to know if I have some chances for a good job, or I better go fishing...)

Mihai
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 7th Oct 2012 11:22
if you have a work under progress game, you can submit it to Work In Progress thread.
make sure to attach some screenshots and see where it will take you.

good luck

Advanced Updater for your games!
Blobby 101
20
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 7th Oct 2012 15:55
For a map (like what you've made in 3D world studio) I'd advise downloading Sparky's collision DLL, you can find it in the program announcements board. That has a command "setup complex object" which will take care of things like maps. It also has really easy sliding collision support.

MrValentine
AGK Backer
15
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 8th Oct 2012 03:02 Edited at: 8th Oct 2012 03:08
First step... export as a .X file format as there will be texture issues [Which I am yet to disgnose] with .dbo files after importing into DBP... after which you have the option of using a collisions library such as the aforementioned Sparkys

But if like me...

Second step... import into DBP... and use Dark Physics /or/ Dark Dynamix to utilise the wonderful physics world of NVidia PhysX.

I have a project in which I created a map in 3DWS and imported into DBP and used a MESH function of PhysX to enable collision and movement within... not a single issue with steps at all... I must mention though be careful with edges...

The mentioned project can be found here... you can see the steps I mentioned...

I am waiting for the maker of DarkOcclusions to make a mod for .X models as I can not get around the texture issue with .dbo, before I continue and return to that project... I am yet undecided whether I make the code public or not... [More the effort than anything else]

Hope that helps...

If you have any other questions about using DarkPhysics let me know... I currently do not own DarkDynamix but I will in future soon...

Login to post a reply

Server time is: 2026-07-08 00:25:52
Your offset time is: 2026-07-08 00:25:52