Jump to content

Jmche108

New Members
  • Content Count

    6
  • Joined

  • Last visited

Posts posted by Jmche108


  1. Hello, I have just finished up my first game using Batari basic. This game is very minimal because my knowledge is minimal. I'm looking for feedback on what I should add or if there is anything to fix. I added the .bas so you can mess with the code if you want. I plan to have this put on a cartridge when it's polished up. Thanks in advance.

    tiefighter.bas

    tiefighter.bas.bin

    • Like 1

  2. Ok, I have a basic idea of what the code means.

     

    IF player1y >= _BottomOfScreen then score=score-1:a=a-1:player1y = 0:player1x=(rand&127) + 22 : goto deadsound

     

    If player1 goes to the bottom of the screen then -1 score. player1 on the y axis is equal to 0, player 1 on the x axis is equal to

    random.

     

    What I don't understand is the last part "=(rand&127) + 22".

    How do I make it where player1 spawns anywhere between point a and point b on the x axis.

    I don't want player 1 to spawn at the very edge of the screen.

     

    Thanks


  3. Hello, I am a complete noob to Batari basic. So far I have made a spinoff of a tutorial I have watched on YouTube. I would like to change the player1 sprite movement but I don't know how. I would like for player1 sprite to move vertically down the screen to where if you let the sprite pass you and exit the screen, you lose a life. Right now the sprite will move to your location. Sorry for my lack of knowledge. Thanks

     

    You can look at the .bas file to see what I'm talking about.

    Tie Fighter.bas

×
×
  • Create New...