Yeah, so I was just randomly thinking of ways to practice certain functions, because, as most of you know, I'm brand new to this, and I pretty much SUCK at it.
Well, long story short, here's my program. Yes, I know, it's pointless, yes, I know, it's retarded. Just bear with me, because this is me practicing. What I want to you from you guys, is as to what I should do to make this game actually worthwhile, and if there is any way to optimize, or make it faster, because it's slow as hell!
Without further ado:
Code:
Yeah, so that's it.
Well, long story short, here's my program. Yes, I know, it's pointless, yes, I know, it's retarded. Just bear with me, because this is me practicing. What I want to you from you guys, is as to what I should do to make this game actually worthwhile, and if there is any way to optimize, or make it faster, because it's slow as hell!
Without further ado:
Code:
AxesOff
ClrDraw
Lbl 0
ClrDraw
Text(0,28,"PASS3D @UT (@ is theta)
Text(7,2,"========================
Text(20,2,"2ND --- START GAME
Text(30,2,"ALPHA - HISCORE
Text(40,2,"CLEAR - QUIT
Text(50,2,"-----------------------------------------------
Text(55,2,"MADE BY: VICTOR SMITH
While 1
Getkey->K
While K=0
Getkey->K
End
If K=21
Goto 1
If K=31
Goto 2
If K=45
Goto @
End
Lbl 1
ClrDraw
UnArchive H (H is my highscore thingy)
For(A,1,25
Text(0,0,"H
End
(The rest is the same as the above 3, it's just goes to say HOLDING BREATH)
End
RandInt(0,1000)->X
Text(10,0,X
If X>H
X->H
Archive H
Pause
Goto 0
End
Lbl 2
ClrDraw
Unarchive H
Text(0,0,"HIGHSCORE IS:
Text(10,0,H
Pause
Archive H
Goto 0
End
Lbl @
ClrDraw
ClrHome
Stop
Yeah, so that's it.