Retro Lord #1 Posted January 1, 2015 I'm stumped at this one. I want to be able too fire left and right. I can fire right but not left, how come? The k is simply for making sound and is not really relevant. if ballx>135 then ballx=200 : bally=200 : goto skip if ballx<10 then ballx=200 : bally=200 : goto skip2 if bally>90 then ballx=200 : bally=200 : goto skip if ballx<10 then ballx=200 : bally=200 : goto skip2 if joy0right && joy0fire goto SHOOTRIGHT if joy0left && joy0fire goto SHOOTLEFT SHOOTRIGHT ballx = ballx+2:goto draw_loop skip if joy0fire && joy0right then k=10 : ballx = missile1x:bally=missile1y-5 SHOOTLEFT ballx = ballx-2:goto draw_loop skip2 if joy0left && joy0fire then k=10 : ballx = missile1x:bally=missile1y-5 draw_loop goto main Quote Share this post Link to post Share on other sites
+Random Terrain #2 Posted January 1, 2015 Looks like the program is constantly running over ballx = ballx + 2. Also, do you only want the ball to move if the player is pressing the joystick in a certain direction while pressing the fire button? In most games, pressing the fire button to start the shot is all that is needed: randomterrain.com/atari-2600-memories-batari-basic-commands.html#sprite_missile_example Quote Share this post Link to post Share on other sites
Retro Lord #3 Posted January 7, 2015 Thanks! It took me about 3 days but I finaly got it working perfectly =) Quote Share this post Link to post Share on other sites