goofyblocks Posted July 18, 2018 Share Posted July 18, 2018 (edited) i am in the process of making a game and well i don't know how to make an enemy shoot i only want the enemy to shoot down and up according to player 0's y position can any one help? Edited July 18, 2018 by goofyblocks Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted July 18, 2018 Share Posted July 18, 2018 There's more guys programming using batari BASIC in the section here: http://atariage.com/forums/forum/65-batari-basic/ Usually people like to use the Atari 2600 missiles for shots. These are generally called missile0 and missile1. You can change their location on the screen via missile0x and missile0y for the first missile. missile1x and missile1y for the second missile (missile1). So, if I wanted the first missile 44 pixels to the right and 55 pixels down I would set the missiles coordinates like this: missile0x = 44 missile0y = 55 You wont see this change until you tell batari BASIC to paint the screen: drawscreen My last piece of advice is read the batari BASIC command reference web page. I use it literally every few minutes. Basically, I read how to do something, try it and then find another thing I want to do and read that! http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html 2 Quote Link to comment 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.