2 ms·
Couldn't immediately find a good explanation of what STAR1 and STAR2 were. Looks like it's 256x256 bitmap that's scrollable and cycles automatically through a c
by Bigpet 5y ago
Couldn't immediately find a good explanation of what STAR1 and STAR2 were. Looks like it's 256x256 bitmap that's scrollable and cycles automatically through a color palette. So you can make the stars "twinkle" by it just shifting through the palette
https://github.com/mamedev/mame/blob/master/src/mame/video/cps1.cpp#L3162-L3186 https://github.com/mamedev/mame/blob/master/src/mame/video/c...
edit: didn't see that "col" also contained an x-offset. So like (256*16)x256 but presumably "sparse", so I get more where the "star" idea comes from
- allenu 5y agoThank you for sharing this. That was my first question, i.e. was the star background hardcoded (or at least statically generated)? That's super interesting that it was built-in at all. I suppose so many shooter games had starfield backgrounds that it made sense at the time to include it.