05-05-2002, 11:50 PM
05-06-2002, 02:28 AM
I have a few questions...
What is a module?
How do split a program into a module?
Where would I split the program?
Is your keyboard really blue?
What is a module?
How do split a program into a module?
Where would I split the program?
Is your keyboard really blue?
05-06-2002, 03:05 AM
Wow. This has sure come a long way since version 1. Sweet. Could we get the final code for it?
05-06-2002, 05:05 PM
A module is a part of the program, you can have many modules in a program.
A way of making the size of the program smaller is to put all the levels in a file instead of having them in your program, and
yes my keyboard is blue .
A way of making the size of the program smaller is to put all the levels in a file instead of having them in your program, and
yes my keyboard is blue .
05-06-2002, 06:02 PM
have you included multikey yet, or is that why you've been having trouble compiling it?
05-06-2002, 06:10 PM
I have put in Multikey, I did have trouble compiling, and I got past that trouble by shortening the program.
Thanks for the explaination of modules, but...
How do you actually make modules? Is it two programs which you compile togother? If so, how do I compile it?
Also, can variables be transferred between modules?
Thanks for the explaination of modules, but...
How do you actually make modules? Is it two programs which you compile togother? If so, how do I compile it?
Also, can variables be transferred between modules?
05-07-2002, 05:10 AM
Which of the special abilities, if any, do you think are unbalanced? I think afterburner is kind of overpowered.
:-?
:-?
05-07-2002, 05:15 AM
Quote:Wow. This has sure come a long way since version 1. Sweet. Could we get the final code for it?
I'll e-mail it to everyone that asks, but I don't really want to put it on the internet where anyone can download, edit, and copy it. :wink:
I think Afterburner is overpowered too. Maybe a slight mana drain would be good...
05-07-2002, 12:23 PM
I have found a bug!.
Ok, first choose PLAY, SOUND ON, MAP 1, 1 PLAYER, REPEL.
Now press ESC and go back to main menu, do the same, but this time, choose map 5, instead of map 1.
After you have choosed REPEL it crashes with an out of data error.
Ok, first choose PLAY, SOUND ON, MAP 1, 1 PLAYER, REPEL.
Now press ESC and go back to main menu, do the same, but this time, choose map 5, instead of map 1.
After you have choosed REPEL it crashes with an out of data error.
05-07-2002, 06:11 PM
I fixed that error; I forgot my RESTORE. I have another one though, and can't seem to fix it.
When you start a new game, it goes directly to the quit menu again! Here is the quit menu code. Anyone have ideas? I updated the download at www.angelfire.com/co4/chaser/home.html
So far, I've tried adding in a delay to see whether it is ever going back to the main game loop or staying in the quit area. I had a sincequit counter and checked if it was greater that 100 in the quit thing(line 2 of that code). It goes through the main loop; it played for 100 times around the loop then quit. So, it would seem that the condition IF multi = 1 THEN is being met even if you don't press escape. Am I doing something wrong with Multikey? (I hope that made sense)
Does anyone know if there is a restart program command?
:-?
When you start a new game, it goes directly to the quit menu again! Here is the quit menu code. Anyone have ideas? I updated the download at www.angelfire.com/co4/chaser/home.html
So far, I've tried adding in a delay to see whether it is ever going back to the main game loop or staying in the quit area. I had a sincequit counter and checked if it was greater that 100 in the quit thing(line 2 of that code). It goes through the main loop; it played for 100 times around the loop then quit. So, it would seem that the condition IF multi = 1 THEN is being met even if you don't press escape. Am I doing something wrong with Multikey? (I hope that made sense)
Code:
multi = MULTIKEY(1)
IF multi = 1 THEN
multi = MULTIKEY(-2)
CLS
sel = 1
CALL font("Quit Options", 150, 70, 5000, 5, 200)
quittop:
LINE (40, 0)-(50, 200), 0, BF
LINE (90, 0)-(100, 200), 0, BF
CALL font("Main Menu ", 50, 50, 0, 5, 200)
CALL font(" Quit ", 50, 70, 0, 5, 200)
CALL font("> <", 42, 30 + (sel * 20), 0, 5, 200)
DO
press$ = INKEY$
LOOP WHILE press$ = ""
IF press$ = CHR$(0) + CHR$(80) THEN sel = sel + 1
IF press$ = CHR$(0) + CHR$(72) THEN sel = sel - 1
IF press$ = CHR$(13) THEN
IF sel = 1 THEN GOTO newgame
IF sel = 2 THEN CLS : END
END IF
IF press$ = CHR$(27) THEN END
IF sel > 2 THEN sel = 1
IF sel < 1 THEN sel = 2
GOTO quittop
multi = MULTIKEY(-1)
END IF
:-?