Jump to content



0

need help with my game


9 replies to this topic

#1 Inferno7600 OFFLINE  

Inferno7600

    Combat Commando

  • 9 posts

Posted Tue Sep 28, 2010 9:53 AM

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
Attached File  Sniper (Main).bas   1.02K   38 downloads

Edited by Inferno7600, Tue Sep 28, 2010 9:53 AM.


#2 accousticguitar OFFLINE  

accousticguitar

    Quadrunner

  • 5,205 posts
  • Sherlock made it to 15 before he left us.
  • Location:Idaho

Posted Tue Sep 28, 2010 12:21 PM

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 by accousticguitar, Tue Sep 28, 2010 1:19 PM.


#3 accousticguitar OFFLINE  

accousticguitar

    Quadrunner

  • 5,205 posts
  • Sherlock made it to 15 before he left us.
  • Location:Idaho

Posted Tue Sep 28, 2010 12:46 PM

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.

Attached File  Sniper2.bas   1.12K   34 downloads

#4 Inferno7600 OFFLINE  

Inferno7600

    Combat Commando

  • 9 posts

Posted Tue Sep 28, 2010 6:12 PM

View Postaccousticguitar, on Tue Sep 28, 2010 12:46 PM, said:

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.

Attachment Sniper2.bas
Thanks

#5 Inferno7600 OFFLINE  

Inferno7600

    Combat Commando

  • 9 posts

Posted Wed Sep 29, 2010 8:59 AM

hey i need more help, how do you make tons of incoming spites, and how can i make my sprite shoot?

#6 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,917 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Wed Sep 29, 2010 9:05 AM

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 by Random Terrain, Wed Sep 29, 2010 9:06 AM.


#7 accousticguitar OFFLINE  

accousticguitar

    Quadrunner

  • 5,205 posts
  • Sherlock made it to 15 before he left us.
  • Location:Idaho

Posted Wed Sep 29, 2010 9:24 AM

View PostInferno7600, on Wed Sep 29, 2010 8:59 AM, said:

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.

#8 Inferno7600 OFFLINE  

Inferno7600

    Combat Commando

  • 9 posts

Posted Wed Sep 29, 2010 12:54 PM

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

#9 theloon OFFLINE  

theloon

    Stargunner

  • 1,015 posts

Posted Fri Oct 1, 2010 6:14 PM

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....0140-game-help/

#10 Nukey Shay ONLINE  

Nukey Shay

    Sheik Yerbouti

  • 20,458 posts
  • Location:The land of Gorch

Posted Fri Oct 1, 2010 7:07 PM

View PostInferno7600, on Wed Sep 29, 2010 12:54 PM, said:

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 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users