Cranberry enemies
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.
0 Comments
Recommended Comments
There are no comments to display.