you might need to put the special i in
Its not fully done but its my first alright game

[i]ICEASM
det(0
sum(0:sum(1,"TEST","r")→F:SCORE→B:sum(5,°HIGH,3,1,F:If HIGH=0:sum(1,"TEST","w")→F:End
det(5,52
det(2,255
det(36,20,20,280,200
det(2,224
det(30,70,50,120,50
det(18,"Dodgecube",125,100
det(18,"Highscore",125,120
det(19,125,130
det(16,HIGH,0
Repeat getKey(54)
If getKey(15)
Goto 1
End
End
det(5,255
150→X
230→Y
randInt(50,100→CIR
randInt(X-40-CIR,X+20→ENEX
0-CIR→ENEY
0→SCORE
sum(0:sum(1,"TEST","r")→F:SCORE→B:sum(5,°HIGH,3,1,F:If HIGH=0:sum(1,"TEST","w")→F:End
1→LIFE
1→MOVEA
1→MOVEB
While not(getKey(15)) and LIFE=1
If X+10≥ENEX and X-10≤ENEX+CIR and Y-10<ENEY+CIR and Y-10>ENEY
0→LIFE
End
If SCORE<10:det(19,X-3,Y-5:det(16,SCORE,1:Else:det(19,X-7,Y-5:det(16,SCORE,1:det(19,X-7,Y-5:det(16,SCORE,1:End
ENEY+1→ENEY
If ENEY=241
det(2,255:det(36,X-4,Y-5,20,10
SCORE+1→SCORE
randInt(50,100→CIR
randInt(X-40-CIR,X+20→ENEX
det(2,255
det(36,0,0,50,50
0-CIR→ENEY
End
If getKey(3) and MOVEA=1
X+1→X
det(2,255:det(36,X-10,Y-5,20,10
If SCORE<10:det(19,X-3,Y-5:det(16,SCORE,1:Else:det(19,X-7,Y-5:det(16,SCORE,1:End

0→MOVEA
Else
1→MOVEA
End
If getKey(2) and MOVEB=1
X-1→X
det(2,255:det(36,X-10,Y-5,20,10
If SCORE<10:det(19,X-3,Y-5:det(16,SCORE,1:Else:det(19,X-7,Y-5:det(16,SCORE,1:End

0→MOVEB
Else
1→MOVEB
End
det(2,0
det(31,X-10,Y-10,20
det(2,224
det(31,ENEX,ENEY+CIR,CIR
det(2,255
det(31,ENEX,ENEY-1,CIR*2
det(6,X-11,Y-10
det(6,X+10,Y-10
End
Lbl 1
det(1
sum(0
sum(1,"TEST","r")→F
sum(5,°B,3,1,F
If B<SCORE
sum(1,"TEST","w")→F
sum(4,°SCORE,3,1,F
sum(0
Input "Name"
End
sum(13,1,FICEASM
det(0
sum(0:sum(1,"TEST","r")→F:SCORE→B:sum(5,°HIGH,3,1,F:If HIGH=0:sum(1,"TEST","w")→F:End
det(5,52
det(2,255
det(36,20,20,280,200
det(2,224
det(30,70,50,120,50
det(18,"Dodgecube",125,100
det(18,"Highscore",125,120
det(19,125,130
det(16,HIGH,0
Repeat getKey(54)
If getKey(15)
Goto 1
End
End
det(5,255
150→X
230→Y
randInt(50,100→CIR
randInt(X-40-CIR,X+20→ENEX
0-CIR→ENEY
0→SCORE
sum(0:sum(1,"TEST","r")→F:SCORE→B:sum(5,°HIGH,3,1,F:If HIGH=0:sum(1,"TEST","w")→F:End
1→LIFE
1→MOVEA
1→MOVEB
While not(getKey(15)) and LIFE=1
If X+10≥ENEX and X-10≤ENEX+CIR and Y-10<ENEY+CIR and Y-10>ENEY
0→LIFE
End
If SCORE<10:det(19,X-3,Y-5:det(16,SCORE,1:Else:det(19,X-7,Y-5:det(16,SCORE,1:det(19,X-7,Y-5:det(16,SCORE,1:End
ENEY+1→ENEY
If ENEY=241
det(2,255:det(36,X-4,Y-5,20,10
SCORE+1→SCORE
randInt(50,100→CIR
randInt(X-40-CIR,X+20→ENEX
det(2,255
det(36,0,0,50,50
0-CIR→ENEY
End
If getKey(3) and MOVEA=1
X+1→X
det(2,255:det(36,X-10,Y-5,20,10
If SCORE<10:det(19,X-3,Y-5:det(16,SCORE,1:Else:det(19,X-7,Y-5:det(16,SCORE,1:End

0→MOVEA
Else
1→MOVEA
End
If getKey(2) and MOVEB=1
X-1→X
det(2,255:det(36,X-10,Y-5,20,10
If SCORE<10:det(19,X-3,Y-5:det(16,SCORE,1:Else:det(19,X-7,Y-5:det(16,SCORE,1:End

0→MOVEB
Else
1→MOVEB
End
det(2,0
det(31,X-10,Y-10,20
det(2,224
det(31,ENEX,ENEY+CIR,CIR
det(2,255
det(31,ENEX,ENEY-1,CIR*2
det(6,X-11,Y-10
det(6,X+10,Y-10
End
Lbl 1
det(1
sum(0
sum(1,"TEST","r")→F
sum(5,°B,3,1,F
If B<SCORE
sum(1,"TEST","w")→F
sum(4,°SCORE,3,1,F
sum(0
Input "Name"
End
sum(13,1,F
Cool - What is it? Do you have any screenshots?
tr1p1ea wrote:
Cool - What is it? Do you have any screenshots?

its a game where blocks rain from the sky
you might want to use the
Code:
` insert code here `
block. it looks better.
Sorry, I tried the code and it seems that there is something wrong with the
Code:
`Input "Name"`
command lines.

How should I change this command lines so that it works?

I would really like to know how your first ICE game is.
DAVID-19 wrote:
Sorry, I tried the code and it seems that there is something wrong with the
Code:
`Input "Name"`
command lines.

How should I change this command lines so that it works?

I would really like to know how your first ICE game is.

so sorry just delete that i was testing a thing and it didnt work
Okay, thanks. I just deleted those command lines.
Also this command line is a bit weird:
Code:
`sum(13,1,FICEASM`

I also deleted it simply so that I can compile the code.
You can edit your first post and change the code (removing at least that

Code:
`Input "Name"`
)

I think it`s a great game idea and it`s fun.
There are of course some little things you will have to improve:

-The GUI (the main menu (make it less confusing) and maybe add a pause menu (or didn`t I find it?))

-The bug when the player gets to the edge and comes out at the other edge. Something goes wrong,
because then the player makes a black trace or the game stops (or you just go into the edge and the player will be able to survive the next block).

I would prefer to make it impossible to "teleport" from one edge to the other,
because this makes the game too easy.

Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

»
» All times are UTC - 5 Hours

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum