Jump to content

1 digit life

Posted by atari2600land, in channel f 02 March 2018 · 209 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.