Jump to content
  • entries
    5,039
  • comments
    2,755
  • views
    1,820,304

The bottomless pit


atari2600land

346 views

blog-0918552001533149291.png

I'd been working on this for a few hours earlier this morning. It's a Doodle Jump game for the Odyssey 2. The only trouble is, I had to make it so it always scrolls down since I couldn't figure out how to make it stop and be nice like it is supposed to. I got disgusted with the way it wasn't working, so a total rewrite was in order. Once I got that mostly done, I tried to make it so it stops, but I just couldn't figure out how to. I think the problem is I need to figure out the y position of each individual platform upon jumping on it, something that I can't do because the collision detection is set between a sprite and EVERY CHARACTER on the screen, so I can't do a collision detection for a specific character. How dumb is that?

 

I tried to figure out how to make it so it knows which character it jumped on, but I failed miserably, so I'm just giving up on that part and am just having it continually scrolling downwards. The code for the game so far is 1,102 lines long. Yes, I did all of that in four hours. Most of it was just copying and pasting from the old version into an all new version. And then I had to keep moving stuff around so it works and wasn't broken. I haven't tried this on a real Odyssey 2 yet. I'm going to a little bit later.

1 Comment


Recommended Comments

Can't you just keep an array of the Y positions of all your active platforms? Then you just compare the Y position of your jumper sprite to each one to see if there's a match.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...