Inferno7600 Posted September 28, 2010 Share Posted September 28, 2010 (edited) hi im really new to this and need someone to tell me whats wrong with the game im working on i get a syntax error when compiling, one small thing could be wrong or it could all be wrong just help me out, note though its only a play-field right now Sniper (Main).bas Edited September 28, 2010 by Inferno7600 Quote Link to comment Share on other sites More sharing options...
accousticguitar Posted September 28, 2010 Share Posted September 28, 2010 (edited) I added in a few things like "titlescreen," "goto titlescreen," "main," and "goto main." The game needs to run in a titlescreen loop and then move on to a main screen loop when the fire button is pressed. I wasn't sure where you wanted the playfield heights so I put them in the main loop. I have not tried it out to see if it works or not. Edited September 28, 2010 by accousticguitar Quote Link to comment Share on other sites More sharing options...
accousticguitar Posted September 28, 2010 Share Posted September 28, 2010 OK, that one didn't work, but this one does. You can add things one at a time to this one to see if they work or not. Sniper2.bas Quote Link to comment Share on other sites More sharing options...
Inferno7600 Posted September 29, 2010 Author Share Posted September 29, 2010 OK, that one didn't work, but this one does. You can add things one at a time to this one to see if they work or not. Sniper2.bas Thanks Quote Link to comment Share on other sites More sharing options...
Inferno7600 Posted September 29, 2010 Author Share Posted September 29, 2010 hey i need more help, how do you make tons of incoming spites, and how can i make my sprite shoot? Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted September 29, 2010 Share Posted September 29, 2010 (edited) You can find a lot of help in the actual batari Basic forum: www.atariage.com/forums/forum/65-batari-basic/ The bB page will eventually have little example programs for just about everything. Edited September 29, 2010 by Random Terrain Quote Link to comment Share on other sites More sharing options...
accousticguitar Posted September 29, 2010 Share Posted September 29, 2010 hey i need more help, how do you make tons of incoming spites, and how can i make my sprite shoot? Yeah, there are quite a few example programs in the bB forums. I'm not quite sure what you mean by "how do you make tons of incoming sprites?" The Atari 2600 can only make 2 sprites unless you flicker them. The multisprite kernel gives you 4 extra sprites with flicker. Quote Link to comment Share on other sites More sharing options...
Inferno7600 Posted September 29, 2010 Author Share Posted September 29, 2010 i meant as in to have incoming enemy's to shoot at like in the game Vanguard but in this game your protecting from incoming enemy's Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted October 2, 2010 Share Posted October 2, 2010 Did you read the links I posted when you asked this question in the Batari BASIC section? They're good reading! Honest http://www.atariage.com/forums/topic/170140-game-help/ Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted October 2, 2010 Share Posted October 2, 2010 like in the game Vanguard but in this game your protecting from incoming enemy's If you noticed, there's still only 2 sprites on any given scanline. Vanguard's display is just a loop, either drawing the current enemy sprite or horizontal repositioning to draw the next enemy sprite (via HMOVE)...and sprites are not allowed to move between those HMOVE line sections - which provides vertical seperation between sprites. Thus, the only limit to the number of enemy sprites is the number of those "bands" between HMOVE lines visible on the left border. The band height is a bit larger than the sprites in Vanguard, so enemies have limited vertical movement as well. This differs from a multisprite kernel like bB's (which is designed to allow sprites freedom of movement over the entire display by choosing which one to draw beforehand)...so you might be better off writing a different display kernel. And if you are writing a different display kernel, there's no advantage to using bB in the first place 1 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.