Jump to content
  • entries
    4,944
  • comments
    2,718
  • views
    1,808,435

Well-rounded celery.


atari2600land

525 views

So I was looking at the celery in the 2600 game I had restarted work on. I had about 400 bytes left to work with. I thought to myself that the celery stalk was straight. A little too straight. And that it doesn't look like that in my bB movies starring the stalk of celery. So my job for today (actually later that day, it was after midnight when I worked on it last. Then I went to sleep and woke up at about 5pm or so.) was to make the celery rounded. That part was mostly easy, except for the fact that the eye moved. I spent two hours trying to put the missile initialization code in various places of the code to make the eye come up at the correct place. Finally, it worked. Except for one drawback: I thought the code hadn't worked on the actual 2600 because there was a black line at the right edge of the eye. So I went back to needless work trying to correct it. It finally dawned on me that it was my TV that was bad. Either that or my console. Because it was working fine on Stella. So I tried the b&w switch on my 2600. The black line on his eye went away (but, of course, the game was in completely black and white, but that's OK since I wanted it to be.) Funny thing: when programming missile x output, it's completely dependent where on the screen it lands by the part of the code it's in. So the first part of the code that draws the celery stalk looks like this:

Draw_MrCelery:                lda #$20                lda #$20 ; here to align eye correctly                sta NUSIZ1                    sta NUSIZ1    ; here to align eye correctly                                EyeDot:                        inx                    sleep 6 ; here to align eye correctly                                    cpx #30                                     sta RESM1    ; reset missile1 position  


Looks pretty odd, and I had to explain what I had to do in the comments to get the eye aligned correctly, but IT WORKS.
I also fixed a bug pertaining to the incinerator moving off screen and out of view. It no longer does that, at least if you're using a joystick. Funny how when you don't need an Atari 2600 joystick there's tons of them laying around, but the moment you need one, they're nowhere to be found. I didn't want to spend a long time fumbling around in the garage because A.) The Christmas decoration boxes haven't been put back in the proper places yet because B.) It's below freezing outside. But I eventually found some oddball one and it works on my 2600, so I'm using it. I'd rather have an actual 2600 controller, but that will have to wait. So here is the result:
blogentry-9475-0-35930800-1483516552_thumb.png

0 Comments


Recommended Comments

There are no comments to display.

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...