Jump to content
  • entries
    4,948
  • comments
    2,718
  • views
    1,808,802

1 digit life


atari2600land

411 views

So I finally got the life system implemented good in KHOL (Killer Heads of Lettuce.) What I did was subtract 10 from the life counter and then not display the ones digit. Difficult math I didn't understand was needed to do this, so I just guessed until it worked correctly. It only took 2 tries, though. But now a new problem arose: The counter that takes care of speeding up the lettuce once 50 are shot isn't working. Most of the time, it does it earlier. Which I may just keep in since it needs to be a sort of random anyway. I have no idea why it's doing this. Perhaps what I could do is make speed be random like the attack type. But I am done working on this for now because I worked on it almost all yesterday and am tired of it.

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