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 / Create source code

Author
Message
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Jul 2005 01:42
Ive been working on a matrix making program



so far ive made the actuall maker, and later i will make a gui at the beggining to change the matrix's setting, but at the moment I'm stuck.. I want it to write source code for it, now I understand that I would need to write all of it with data and stuff, but i just dont know whow to do it, any help appreciated

Your signature has been erased by a mod because it's larger than 600x120...
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 14th Jul 2005 05:30
That's really good and useful! Keep up the good work!

Enjoy Life while your still alive.
Enjoy a recees anytime!
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 14th Jul 2005 06:15
ah you want to seve the matrix what you need to do is create a dim and put the height values into that:

next you need to save the dim, go to the saveing topic for that.
g-luck

Don't look at my sig!
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Jul 2005 06:33 Edited at: 14th Jul 2005 06:35
hnmm, ive got this



but it just says "array name not valid"

Your signature has been erased by a mod because it's larger than 600x120...
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 14th Jul 2005 17:16
Please, don't set the sync rate to 0. I got 302 and it's just not handy to move with the box at this framerate...

Immunity and Annihalation makes Immunihalation...
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Jul 2005 21:09
alright, ill change that

Your signature has been erased by a mod because it's larger than 600x120...
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 14th Jul 2005 21:46 Edited at: 14th Jul 2005 21:47
Did you know that cameras open and close their shutter 24 times every seccond? that means a movie has a sync rate of 24.

here's the saveing tutorail that I was talking about a few posts ago: http://underworldgaming.hellmutharts.com/SavingGameData.htm
(you'll want method 2)

oh and in your code you have the save line every time it loops trough the for next loop, what you need to do is place the saveing code after it has fully updated the dim.

Don't look at my sig!
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 14th Jul 2005 22:15
I found a bug

If you go out of the matrix and press left mouse button(or right) the program will crash with the message : "matrix cordinates illegal" er something like that.

Visit PanzerGames here
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Jul 2005 22:21
yeah i know lol

link102:

I tried putting the save array after the array was updated, but it still didnt work, and i tried out that tutorial, it didnt crash or anything, but it didnt save anything either.. i really need help..

Your signature has been erased by a mod because it's larger than 600x120...
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 15th Jul 2005 05:35
Make boundries for your cube. This way you dont have to worry about these things...

Immunity and Annihalation makes Immunihalation...
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 15th Jul 2005 05:59 Edited at: 15th Jul 2005 05:59
Ok, let's see that code of yours *puts on heavy-duty rubber gloves*

Don't look at my sig!
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 16th Jul 2005 06:13
this must be very heavy-duty if it takes htis long

Your signature has been erased by a mod because it's larger than 600x120...
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 16th Jul 2005 21:49
Put this just before you position your marker:



This way, your marker doesn't leave tha matrix and you don't have to worry about your arrays.

Immunity and Annihalation makes Immunihalation...
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 17th Jul 2005 02:20
yeah, i already did that, but i had to make it a ceratin distance away from the end because of the option of lifting a bunch of tiles

Your signature has been erased by a mod because it's larger than 600x120...

Login to post a reply

Server time is: 2025-05-22 22:09:35
Your offset time is: 2025-05-22 22:09:35