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 / Can anybody help me?

Author
Message
paul johns 353
18
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 4th Apr 2007 15:01
Hi there,

I am completely new to DB and would like some view from all you very helpful people out there.

I am wanting to create a terrain, with trees, bushes, mountains, and water but don't know where to start or what the first steps are.

I have tried to read through the user manual but really it does not seem up to much...I know I need to create a matrix...but how and where does one start.

Or point me to some sample code, or explain a little more about creating a 3D matrix.

Can anybody help me?

Thanks!
Paul.
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 4th Apr 2007 18:06
Quote: "I am completely new to DB and would like some view from all you very helpful people out there."


Well, being completely new to DB I unfortunately would advise you didn't start right away with a terrain, bushes, mountains and water. It sounds a bit like Far Cry in a way (Or a golf game like PGA). Far Cry will have been built by experienced programmers. It's never anyone's dream to start simple, but it's always the best approach...

Trees and bushes would probably be built with a 3D modeller, and then loaded in with load object and positioned with position object and so on... A mountainous terrain can also be built with a 3D modeller, or like you correctly suggested, a matrix.
it's been years since I've used matrices now, but the general idea is to use make matrix then assign the matrix a number, a number of tiles length-ways, an other number of tiles width-ways, how long each individual tile is, and how wide each tile is...

There's more on it in the matrix 3d section of the help file. if it makes no sense, you're probably trying something too complex for now. in which case it would be better to start a bit lower...

It's probably not what you wanted to hear, but it's an unfortunate truth that many users expect to be able to make top-sellers instantly...
H4ck1d
19
Years of Service
User Offline
Joined: 27th Dec 2005
Location: Yes
Posted: 4th Apr 2007 18:38
For an easy way to build a landscape, check out Multiscape:

http://forum.thegamecreators.com/?m=forum_view&t=31257&b=5

For the rest of the stuff, like trees and shrubs, like simsmall said, you'll need to use load object and position object, or use a world editor.

Dabbler
18
Years of Service
User Offline
Joined: 3rd Mar 2007
Location: Minnesota
Posted: 5th Apr 2007 07:46
Just a thought.

You can create matrix terrains in DarkBasic Pro. You can Build models in DarkBasic Pro.

I believe in starting from ground zero. The attached picture was built in native DarkBasic Pro in less than two weeks. Ground, vehicles, buildings(not visable) and terrain. All created, textured and animated in DarkBasic Pro. If I can do it then so can you.

Check snippets, tutorials and posts. No-one here asks stupid questions -- they all have ideas built in -- you juxt have to look for them.


Whatever...

Attachments

Login to view attachments
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 5th Apr 2007 19:35
I have to agree with SimSmall.

You can't just jump in and expect to be able to create something that ambitious right away.

It's like deciding to build a house on your own. If you don't learn how to make the foundations or learn bricklaying, plastering, joinery, glazing, plumbing, roofing and all the other many skills involved, either you'll never finish the house and give up, or it will soon fall down!

Programming in DB is the same. Program layout is the foundations. Variables and arrays are the brickwork and so on.

Unfortunately, you have to master the basic logic of a game and be able to write small example programs to demonstrate to yourself that you understand all the commands you are going to use.

Simple 2D games are ideal for learning the theory behind player movement, collision and so on - the theory can easily be taken with you when you move up to 3D.

If you've never used a 3D programming language before this can take a considerable amount of time...

Read tutorials until you are sick of doing so!...

TDK_Man

Login to post a reply

Server time is: 2025-05-28 20:52:22
Your offset time is: 2025-05-28 20:52:22