Jump to content

Photo

My first project weird glitch

batari basic atari 2600 Programming Atariage project glitch help

3 replies to this topic

#1 Lolkiu64 OFFLINE  

Lolkiu64

    Combat Commando

  • 3 posts

Posted Thu Nov 2, 2017 6:37 PM

This is my first post on any atariage forum, if this is the wrong place to post this topic, then I'll gladly move it.

First of all, I just need to give out a big thank you to Random Terrain for the awesome tutorial page (I use it like a bB bible), atariage for this forum, and anyone who worked on batari basic/visual bB.

So while testing out my first project this weird glitch came out of nowhere, everything works fine until the player touches (collides) with player1 (the finish flag).

When this happens the game starts all over. I assume either a variable was messed up or misspelled, or perhaps players can't collide?

(I don't need anything else fixed, I know the movement of the player sucks as well as the collision against walls. I'll be sure to improve those in Max's Maze 2)

 

Attached Files


Edited by Lolkiu64, Thu Nov 2, 2017 6:40 PM.


#2 Lolkiu64 OFFLINE  

Lolkiu64

    Combat Commando

  • Topic Starter
  • 3 posts

Posted Thu Nov 2, 2017 6:41 PM

Also, does anyone know how 'Robsome' got a help tag in his title?



#3 kdgarris OFFLINE  

kdgarris

    Chopper Commander

  • 212 posts

Posted Fri Nov 3, 2017 7:36 AM

You have two checks for collisions between player0 and player1.  The first does a goto to __map02.  In that block, you repeat the same collision checks, which will come out the same given that there has not been a drawscreen since the last collision checks, so your second collision check for player0 and player1 will also trigger.  This one goes to __map03.

 

Here is the remainder if the file after __map03:

__map03

__map04

__map05

__map06

Your game restarts because it falls off the edge here and runs out of instructions to execute, so the game restarts.



#4 Lolkiu64 OFFLINE  

Lolkiu64

    Combat Commando

  • Topic Starter
  • 3 posts

Posted Fri Nov 3, 2017 4:58 PM

Oh man thank you so much!  :-D

(Also love the Eric Carle caterpillar, that's my favorite children's book)


Edited by Lolkiu64, Fri Nov 3, 2017 4:59 PM.






Also tagged with one or more of these keywords: batari basic, atari 2600, Programming, Atariage, project, glitch, help

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users