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 / Matrix Descriptions?

Author
Message
Apocalypse
21
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 31st Dec 2002 20:56
Hi, I'm a newb still but I know quite a lot of Basic (From the old BasicA). Just what are matrix's though. I've read tutorials and manuals over and over but still don't understand what matrix's are and how to use them? Can anyone please give me a good description of this?
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 31st Dec 2002 21:15
A matrix can be thought of as a grib landscape with individual tiles that can be textured, raised and lowered to create a wide variety of surfaces.

One way you use matrices is to make the land for an outdoor game.

A lot of people make their own matrix editor to mold your matrix by clicking or setting an area height. Of course, there are also some other great editors out there. One being the infamous MatEDIT, which you make your matrix and texture it, then it writes the DB code FOR YOU

www.matedit.com

Hope this helps

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
Upcoming- MMOFPS- Paintball Game: HELP WANTED!
Http://halbrosproductions.netfirms.com
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 31st Dec 2002 22:33
wellllll...there are 2 kinds of matricies, the mathematical kind or the dark basic object kind. In basic and math a matrix is a 2d array of numbers in rectangular form. Like:
[[1,2,3,4]
[5,6,7,8]]
that matrix is 2by4, 2 rows 4 columns. You can access numbers by naming it then using (row,column) to retrive values.

The matrix more comonly used in dark basic is a plain that is divided up into rectangles (well technically triangles), each of which you can raise, lower and angle. All of the rectangles are connected to each other, so there are never gaps. If you texture it and randomize the heights of the matrix (command randomize matrix matrix #,random height extreme ) then it will look remotely like a terrainy surface.

You make a matrix with the command make matrix and look in the help files for the other required inputs. Actually, you really should have started with the help files, because their examples page is very very handy. Go look at that.
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 31st Dec 2002 22:59
Ya I got my def. out of the Dark Basic Users Manual. Thought it might be a better way to describe it from there

Good job QTR

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
Upcoming- MMOFPS- Paintball Game: HELP WANTED!
Http://halbrosproductions.netfirms.com
Skyone
21
Years of Service
User Offline
Joined: 30th Dec 2002
Location: United States
Posted: 1st Jan 2003 00:16
ok let's see... Could someone help me make a Matrix? One with color or a texture?

Code of the Week: Moving an object back.
If Downkey()=1 then Move object x,-10
x=Object Number
CasinoDuck
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location:
Posted: 1st Jan 2003 00:58
could you convert an ascii to a db matrix?

John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Jan 2003 01:23
Skyone:

Load image "mytexture.bmp",1

make matrix 1,100,100,10,10
prepare matrix texture 1,1,1,1




RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
Http://halbrosproductions.netfirms.com
I hate those stupid backfaces! They are always screwing up!!!
Apocalypse
21
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 1st Jan 2003 01:40
Ok cool. Thx for the descriptions you two... just in short cos i didn't understand a certain bit whats each of these?
make matrix ?,?,?,?,?
prepare matrix texture ?,?,?,?

Sorry that these are noob questions. Only one way to learn though
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Jan 2003 03:02
Make Matrix MATRIX NUMBER, PIXELS WIDE, PIXELS DEEP, XSEGMENTED, ZSEGMENTED

Prepare Matrix Texture MATRIX NUMBER, IMAGE VALUE (number),ACROSS, DOWN

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
Http://halbrosproductions.netfirms.com
I hate those stupid backfaces! They are always screwing up!!!
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 1st Jan 2003 03:51
help files you lazy bastard!
soap_shoes
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United States
Posted: 1st Jan 2003 04:11
heyheyhey........

noobie game designer
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Jan 2003 04:59
-help files you lazy bastard!

Why not just make that your sig! It would save you an awful lot of typing! I feel like saying that just about every post!!

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
I hate those stupid backfaces! They are always screwing up!!!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Jan 2003 05:00
EDIT: I just updated my profile, with a kinder way of saying it Waiting for the forums to update my sig now

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!
Apocalypse
21
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 1st Jan 2003 21:22
"help files you lazy bastard!"

Hmmm, QuothTheRaven you git, what do you think I've looked at first?!
They just don't give a description (atleast not that I found) on the XSEGMENTED and ZSEGMENTED parameters.
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 1st Jan 2003 21:25
how many segments are on the x coordinants...
how many segments are on the z coordinants...?

The "examples" section does wonders on people looking for information. It tells you everything you need to know!
Apocalypse
21
Years of Service
User Offline
Joined: 28th Dec 2002
Location:
Posted: 1st Jan 2003 22:12
Ok Thx... I started making basic 3d stuff from your help thx QTR and RPGamer
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 1st Jan 2003 22:24


Current - RPG: Eternal Destiny : Help Wanted!
http://www.halbrosproductions.netfirms.com
Dont ask those questions! Read the help files lazy!

Login to post a reply

Server time is: 2024-11-23 20:50:59
Your offset time is: 2024-11-23 20:50:59