Colony 7 Shields working!
Hi there!
Ok, first things first: I think I'll stick with "Colony 7" instead of "Colony 2600" to avoid any confusion with the A800 game "Colony"
Phew... doing those shield lines was waaay more difficult than it looks like.
They are 6 lines tall, and there's 2 layers à 3 lines. Since it is completely assymmetrical, it requires 6 PF loads and stores every line, with somewhat precise timings in the middle. The color is also updated every line. Then the particle code needs to be executed every other line. Something special is also the situation at the edges, where the color from the rocks differs from the shield color. Also it should do smooth transitions on both ends, to the top and the rest of the bottom section.
After failing to do a 1LK, 2LK or 3LK kernel here, I ended up with completely unrolled exclusive code for each of the 6 lines
And how did I solve the edge color problem? Cheating again. I'm just overlaying solid brown sprites there
Well, I'm not entirely happy with everything, but at least it works for the moment
(I'm a bit concerned wether there's some flaws in the particle code, it's the next thing I'll look into once the bottom section is fully done.)
Greetings,
Manuel
12 Comments
Recommended Comments