+atari2600land Posted June 23, 2006 Share Posted June 23, 2006 (edited) I studied the matario code and got this... 10 set smartbranching on 20 a=0 : rem vertical position 30 b=0 : rem jump height 40 d=0 : rem sprite def 50 e=0 : rem framecounter 60 rem define player x, y pos 65 x=66 : y=66 : t=0 68 player0: %00101000 %00101000 %00010000 %00111000 %00010000 %00111000 %00101000 %00111000 end 70 drawscreen 75 player0x = x : player0y = y 80 rem define colors/playfield 92 COLUP1= 0 : COLUBK = 15 : COLUPF = 7 95 if joy0fire then a=5 96 if a=5 then y=y-2 : b=b+1 100 if b > 25 then a=6 : b=0 110 if a=6 then y=y+2 130 goto 70 ...but there's no ground! If I'm missing something, please tell me what! BTW, the t variable isn't being used. Edited June 23, 2006 by atari2600land Quote Link to comment https://forums.atariage.com/topic/89591-jumping-new-topic-originating-from-mr-flanksteak/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.