-
Content Count
452 -
Joined
-
Last visited
Content Type
Profiles
Member Map
Forums
Blogs
Gallery
Calendar
Store
Everything posted by esplonky
-
here is the code not in a .txt playfield: ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ ................................ end COLUBK = $20 COLUPF = 212 player0x=0:player0y=10 player1x=20:player0y=20 missile0height=4:missle0y=255 NUSIZ0 = 16 sprites player0: 000000 %01000100 %01000100 %01000100 111000 111000 111000 111000 111000 111000 111000 111000 111000 %11111110 %10111010 %10111010 %10111010 111000 111000 000000 end player1: 000000 100100 011000 111100 011000 011000 111100 000000 end if missile0y>240 then goto skip missile0y = missile0y-2:goto draw_loop skip if joy0fire then missile0y = player0y-2:missile0x =player0x+4 draw_loop drawscreen if player1y < player0y then player1y = player1y+1 if player1y > player0y then player1y = player1y-1 if player1x < player0x then player1x = player1x+1 if player1x > player0x then player1x = player1x-1 player1x = player1x:player1y = player1y if joy0up then player0y = player0y-1: goto jump if joy0down then player0y = player0y+1: goto jump if joy0left then player0x = player0x-1: goto jump if joy0right then player0x = player0x+1: goto jump if collision(missile0,player1) then score=score+1:player1x=rand/2:player1y=0:missile0y=255 if collision(player0,player1) then score=score-1:player1x=rand/2:player1y=0:missile0y=255 jump goto sprites
-
okay, first i had a compile problem but it turned out that i didnt indent right, and so i compiled and now all i get is a black screen in stella, and on stella psp if makes random noises. here is the code, if i can get somebody to help me, or to fix it for me that would help alot, thanks! and also, its a .txt file, so you need to copy and paste the code. default.txt
