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.

Newcomers DBPro Corner / Second Floors and Meshes

Author
Message
Papa Stiffy
17
Years of Service
User Offline
Joined: 22nd Sep 2007
Location:
Posted: 22nd May 2008 21:14
Would it be advantageous to use a mesh as a floor instead of a matrix? I currently use matrices as floors in all of my games, but have a problem with second floors. I use the "get ground height" for my y coordinate, which of course only allows you to walk and jump along the ground. How would I allow ramps, platforms and such things into my games?

http://cobaltgames.moonfruit.com
-------Biatchin' Games-------
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 22nd May 2008 22:12
Now a day no one use a matrix for a real game, you had better load a mesh as a floor.You can make your own level in any 3D program and convert it to .x and use it for you games.

If you have a collision system, you could go into a complete Quake level style.

The sparky´s dll work fine with collision and is free.

cheers.

oh my god
Papa Stiffy
17
Years of Service
User Offline
Joined: 22nd Sep 2007
Location:
Posted: 22nd May 2008 22:58
Thanks, but I was wondering that if I were to make a complete .x level and made it into a mesh, could I still use my own collision tests? I use the get object collision x and such for my collisions, would this still work inside this mesh level?

http://cobaltgames.moonfruit.com
-------Biatchin' Games-------
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 23rd May 2008 00:05
Yeahh....with just Dbpro commands, you can get all collision in your .x level:

set object collision to polygons my_obj


Then you have to prepare your own engine to collide.

Here I show you a piece of code... enjoy !!



oh my god
Papa Stiffy
17
Years of Service
User Offline
Joined: 22nd Sep 2007
Location:
Posted: 23rd May 2008 00:25
Thank you very much, just it deosn't quite answer my question. Maybe I shouldn't have posted in the Newcomers. I'm not new to DBP just new to the idea of meshes. I just tried making a quicky level in a single .x, and tried turning it into a mesh, but it didn't work. I'm really just wondering how it is possible and in which way is it easiest to make a second floor to an FPS style game, and attach the camera to the new floor, if that makes sense.

http://cobaltgames.moonfruit.com
-------Biatchin' Games-------
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 23rd May 2008 01:29
Ohh... sorry... perhaps you thought I had confused you as a beginner... I don´t want that...I just say...and I can asure you that you can go inside a mesh with just Dbpro commands.

Just have a look to this other code. The scenary was made in 3Dmax and exported to .x file with panda exporter.

Download the file with media.
cheers.




oh my god

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-15 17:11:59
Your offset time is: 2024-11-15 17:11:59