Galaga sprite question

Txny Mxnrxe

Member
Joined
Sep 13, 2010
Messages
210
Reaction score
3
Location
Duluth, Minnesota
Does anyone know the size of the sprites used in Galaga? I haven't peeked at any code yet, I just wanted an idea since I can draw then up at work but not check them out. Im planning a graphics hack and then hopefully a gameplay hack.
 
16 x 16.

The galaga ship is actually 16 tall by 15 wide since the center point of the ship couldn't be centered on 16x16. but it is a 16 x 16 sprite with 1 pixel column blank on one side.
 
Last edited:
The tiles are 8x8. The sprites, however, are 16x16.

From the MAME source (http://mamedev.org/source/src/mame/drivers/galaga.c.html):

1505 static const gfx_layout spritelayout_galaga =
1506 {
1507 16,16,
1508 RGN_FRAC(1,1),
1509 2,
1510 { 0, 4 },
1511 { STEP4(0*8,1), STEP4(8*8,1), STEP4(16*8,1), STEP4(24*8,1) },
1512 { STEP8(0*8,8), STEP8(32*8,8) },
1513 64*8
1514 };
 
Last edited:
Back
Top Bottom