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 / Now I have Matrix Problems

Author
Message
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 12th May 2004 06:18 Edited at: 12th May 2004 09:38
Now I have a Matrix proplem Ikeep getting "Runtime error and line 49, Matrix tile does not exist"???!!!!!!?? What am I doing wrong now?


GameKit
22
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 12th May 2004 21:17
I think this is your problem...

Rem texture matrix
Load image "grass09.bmp",1
Prepare matrix texture 1,1,1,1
Fill matrix 1,0,1

I think The command is "Fill Matrix [Matrix#],[Tile#],[Height#]"

The tile numbers start at one... not 0... so try this instead...
Fill Matrix 1,1,0

well... I hope I helped...

Previously known as "Game_Creator".
The question is, why am I talking to myself? ...... And more importantly, why am I waiting for a reply?
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 13th May 2004 01:48
Thanks GameKit I will try it out.
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 14th May 2004 17:33 Edited at: 14th May 2004 17:35
Sorry but it didn't work out but thanks anyway Gamekit
GameKit
22
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 17th May 2004 07:57
Hmmm... I was wrong about the Fill Matrix Code... You had it right... I re-looked over your code but still couldn't find anything...
Try Instead of "Fill Matrix"...


Also, Try Typing "Update Matrix 1" After you make the matrix and after you randomize it...

Other than that, I have no clue...

Previously known as "Game_Creator".
The question is, why am I talking to myself? ...... And more importantly, why am I waiting for a reply?
vampyre
22
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 13th Jun 2004 18:14
Thanks Gamekit, sorry I haven't replied lately , thanks a lot I will give it a go

Login to post a reply

Server time is: 2025-05-25 04:40:00
Your offset time is: 2025-05-25 04:40:00