Progress!
As the screenshot shows, I've fixed a couple of things from version 0.013 already.
1. The Object Manager is in place. This is the Real Deal. Although it will need a couple more tweaks and I'll probably try to make the code a bit more compact, this code is probably going to be used from this point on. It cycles through the list of existing objects, and selects up to 2 to display on the screen. If it finds 0 or 1, it'll make 1 full run through the list. If it finds 2, it'll also update it's ObjectPointer to point at the object immediately following the second object chosen to be displayed. This way on the next frame it'll start checking the objects from the new position - and as a result we have flicker management.
The Object Manager tries to allocate an object to P0 first, only using P1 if 2 sprites need to be displayed. The player is drawn with P1's missile, so you'll need 2+ objects on the screen before the player starts changing colors.
2. The graphics glitches caused in the code due to vertical delay on the 2-line kernal is finally crushed. I had the issue crushed with P1 yesterday before going to work. Fixed it with P0 just then when I got home. Just required a minor adjustment on what I was doing with P1.
3. I had to adjust the collision detection for the heart to include both P0 and P1 so you could actually grab it with the new routine. Just a hack of a hack. That side of the item code still has to be worked on.
And that's going to be the focus for this weekend. Code Cleanup and completion of the Object framework. (replacing what's already there for the heart with something that I can use for the actual game.)
0 Comments
Recommended Comments
There are no comments to display.