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 / Matedit and loading matrixes

Author
Message
Oibaf2000
21
Years of Service
User Offline
Joined: 31st Jan 2004
Location:
Posted: 29th May 2004 20:42
I created a matrix using Matedit1.6 and able to load it if I create the stand alone option but if i use the laodmatrix option..i geyt an array out of bounds error...not sure what to do here..any one seen this error...is the possible workaround to take the data from the standalone dba file and use it as a gosub routine? anyone experience this?

THe erro line # is beyond my main program so i assuming it is in the loadmatrix code....
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 29th May 2004 22:51
I've never had any trouble loading a Matedit matrix. Did you put this code at the top of your program before your main loop?


You must have that code in your main program file in order to load the matrix. Hope this helps

Oibaf2000
21
Years of Service
User Offline
Joined: 31st Jan 2004
Location:
Posted: 29th May 2004 23:32
hi hyrichter,
Yep I have the code..I am able to load one of the demo levels that comes with matedit...then when I try to laod a level I made...then I get the error..really weird. Any ideas on how I could debug?
Thanks
Oibaf2000
21
Years of Service
User Offline
Joined: 31st Jan 2004
Location:
Posted: 30th May 2004 00:51
MAybe I should be clear on what I want to do incase I am doing this wrong. I have variou slevels I like to load..ie. level 1, level 2..etc.

all levels are created via matedit..I figure i would just use laodmatirx when it is time to load the next level...i thought it would be simple..maybe there an issue with my matrix i created....
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 30th May 2004 03:00
I haven't tried loading different levels. Maybe I'll try that and see what happens. Do you have all the necessary textures in your source folder? That's the only other thing I can think of.

Login to post a reply

Server time is: 2025-05-24 00:05:37
Your offset time is: 2025-05-24 00:05:37