radiohead, on Sun Sep 18, 2011 9:32 AM, said:
I see somebody has created a fabulous Arcade port for 2600 called "Medieval Mayhem"
Thanks!
Quote
In the arcade and in "Medieval Mayhem" it looks like a castle, but on the original 2600 version, it looks like the side view of a Star Destroyer.
The castle? I think you mean the warlords. The castles are the purplish parts with chunks missing, the warlords are in the 4 corners and colored to match the shields.
The warlords aren't drawn using a sprite - the Atari only has 2 sprites and Warlords uses them to draw the shields. The sprites can be reused in different horizontal zones w/out any problem, but to reuse them in the same horizontal zone would require flicker. That would complicate the collision detection (ie: the fireball could fly thru the shield on the frames that a more detailed warlord was being drawn).
The warlords in corner are drawn with the 2 missiles, which are 1 bit objects. They are a single pixel that can be drawn 1x, 2x, 4x or 8x. The warlords are drawn using 1x, 2x, 1x, 2x, 4x (with an extra 1x on the right side). Like the sprites, the missiles are reused so the warlords can be drawn on the top/bottom.
In Medieval Mayhem, I draw the warlords using the playfield, which is the same object that's used to draw the castle walls. There's only 40 playfield pixels across the screen (they're 4x the size of the pixels that draw the sprites/missiles/ball). I use the "score mode" setting to color them the same color as the player. In Warlords, the same technique is used to draw the scores - that's why they're so chunky looking.
I don't know if it'll help, but I did some
analysis of Warlords to see if I could hack in multiple fireballs. I eventually decided it would be better to just rewrite it from scratch.