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 / problem!! :(:(:(

Author
Message
James Bond
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location:
Posted: 16th Aug 2004 00:29
#include "LoadMatrix.dba"

`declare the MatEdit variables
Dim BigMatrix(600,600,1)
Dim StartLoc_X(1): Dim StartLoc_Z(1)im Info(2)
Dim TArrayX(1): Dim TArrayZ(1): Dim FKey(10,1)
Dim ColData(100): Dim ZoneData(100): Dim Tiles(500,500)
Dim OverTexture$(100): Dim OverName$(20): Dim ReplaceTex(100)
Dim MOffsetX(25): Dim MOffsetY(25)
Dim MWire(20): Dim MGhost(20): Dim Lock(20)
Dim MatX#(20): Dim MatY#(20): Dim MatZ#(20)
Dim MatWidth#(20): Dim MatHeight#(20)
Dim TilesX(20): Dim TilesZ(20)
Dim MatHi#(20): Dim MatLo#(20)


`set up the program
sync on
sync rate 40
hide mouse

`load the matrix
LoadMatrix("map",1)






LoadMatrix .dba contains the LOADMATRIX function ..... i have added the codes of loadmatrix.dba blow ( SOURCE )

whenever i try to use this files ....... this stupid dark basic says that NO SUCH COMMAND!!!!!!!!!!!!!!!!!!!!!! or something like that!!!
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 16th Aug 2004 00:58
I think your problem is that the "LoadMatrix.dba" file isn't in the same folder as your source. Make sure your source and the matrix include file are in the same folder, and it should work.

Login to post a reply

Server time is: 2025-05-25 13:11:00
Your offset time is: 2025-05-25 13:11:00