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 / Building Level with Dbpro

Author
Message
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 14th Nov 2011 01:03
Hi there. We'v seen a lot of game engine and some of them have include a Level Editor. Darkbasi Pro can use its commands to make a complete level without external programs. I made a step by step tutorial in PDF that show how to make the Level showed in this video example. This is just the beginning, since we can extend it to suit our needs. At the moment, it doesn't have collision, as most of us know how to manage with it. I hope it can help






http://www.youtube.com/watch?v=fVEFyDzeQYk

Example attached.

Cheers.

I'm not a grumpy grandpa

Attachments

Login to view attachments
DevilLiger
20
Years of Service
User Offline
Joined: 21st Nov 2003
Location: Fresno,CA,USA
Posted: 14th Nov 2011 08:27
very good info. good job.

baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 14th Nov 2011 15:48
Nice work chafari! Is this an adaptation of the old version you showed me once? You had a simple level editor with that too...

chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 14th Nov 2011 17:54
@DevilLiger baxslash
Thanks for your comments.

Quote: " Is this an adaptation of the old version you showed me once?"


Well, the little Editor I showed you time ago, is now golden pearl ...this example works with the same method of boolean, and I just made this little example with included PDF Tutorial to show all our friends that we can start making attempts to get the best of Dbpro. It is something like a challenge and we will realize that we have a powerful programming language. I'v seen your examples in ADG Coding Competition that I saw time ago...they are great stuff !!

I have got Darklights but now I am currently finishing my 3D Editor adding lightmaps, but I want to use my own subrotine . I hope to finish it before next year .

Cheers.

I'm not a grumpy grandpa
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 14th Nov 2011 18:06
Quote: "I'v seen your examples in ADG Coding Competition that I saw time ago...they are great stuff !!"

I think you judged the competition I won with the robot right? That was a fun challenge

There are some great routines for lightmapping in DBP that Evolved produced but I don't see them on his site any more...

DarkDISCUSSION
12
Years of Service
User Offline
Joined: 6th Jul 2011
Location: Ft Madison, IA
Posted: 14th Nov 2011 18:55
Very nicely done chafari. I admire good input and effort.

Kind Regards,
Captain Wicker
http://captainwicker.webs.com/
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 14th Nov 2011 19:10
@DarkDISCUSSION
Thanks.

Baxslash....I have mi script still working, but I was trying to make shadows in real time, but it´ s f slow...just 5 FPS....for statik shadows works ok.
Cheers

I'm not a grumpy grandpa
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 14th Nov 2011 19:30
Quote: "There are some great routines for lightmapping in DBP that Evolved produced but I don't see them on his site any more..."

http://www.evolved-software.com/code/codesnippets

chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 14th Nov 2011 20:42 Edited at: 14th Nov 2011 20:51
Hi Brendy boy Thanks, I knew this page but what I meant, was to make my own light maper , and I'v got it working already, but I was trying to speed it up to use it in real time lights. I just get maximun 10 fps and that is not good. It works super in static meshes although.




You can download to test in your machine.

Cheers.

I'm not a grumpy grandpa

Attachments

Login to view attachments
SH4773R
14
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 20th Nov 2011 20:55
yeah I get around 11 fps on your demo, looks like it needs some optimization.

Login to post a reply

Server time is: 2024-05-29 01:17:14
Your offset time is: 2024-05-29 01:17:14