Poll: What is the most powerful special?
You do not have permission to vote in this poll.
Repel
100.00%
8 100.00%
Invisibility
0%
0 0%
Afterburner
0%
0 0%
Immunity
0%
0 0%
Teleport
0%
0 0%
Speed Drain
0%
0 0%
Reach
0%
0 0%
Total 8 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chaser
#31
You can split the program into two modules.
Reply
#32
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?
Reply
#33
Wow. This has sure come a long way since version 1. Sweet. Could we get the final code for it?
Reply
#34
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 Big Grin.
Reply
#35
have you included multikey yet, or is that why you've been having trouble compiling it?
Reply
#36
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?
Reply
#37
Which of the special abilities, if any, do you think are unbalanced? I think afterburner is kind of overpowered.

:-?
Reply
#38
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...
Reply
#39
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.
Reply
#40
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)
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
Does anyone know if there is a restart program command?
:-?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)