Jump to content
  • entries
    4,956
  • comments
    2,719
  • views
    1,809,793

Cranberry enemies


atari2600land

186 views

So I added some stuff to Craig the Cranberry. I added enemies (Steve the Strawberry). I added collision detection to Steve the Strawberry. I added a health meter to the game. It drops when you touch Steve. And then I went to sleep. Couldn't get to sleep until about 4 a.m. Started trying at about 3 a.m. I woke up 15 hours later. I woke up about a half hour ago. It's now almost 8 p.m. I really enjoy sleeping, even when I do get weird nightmares. Sometimes I wake myself up when I start talking in my sleep.

 

The magic code that I needed to put in each loop is this:


    // wait for the VIP to finish drawing
    while(!(VIP_REGS[INTPND] & XPEND));
    // clear flag
    VIP_REGS[INTCLR]= XPEND;

 

Which should be good enough for what I want to do. It should be different, but I don't want to mess with it until it starts not working on a real VB. "If it ain't broke, don't fix it." I am not using that much of the screen for drawing stuff. If I was, I'd need to change it. I was drawing in the bathroom and I thought up a good thing to try to do in the game. It involves two holes, so I need to alter the hole making source picture some to allow for it.

 

craig-0026.png.d4963ed39e0f633533b1980ddd14d33c.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...