Sprites in MSX-C

Page 8/8
1 | 2 | 3 | 4 | 5 | 6 | 7 |

By Jin

Resident (37)

Jin's picture

23-05-2018, 03:18

I Still didn't realize how to fix the program to show the 16x16 sprite correctly Big smile

where to change? this line?

int *plspr[32] =
0x07,0x04,0x04,0x04,0x04,0x04,0x04,0x04,
0x04,0x04,0x0C,0x18,0x30,0x60,0xC0,0xFF,
0xE0,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
0x20,0x20,0x30,0x18,0x0C,0x06,0x03,0xFF;

By Wolverine_nl

Paragon (1129)

Wolverine_nl's picture

23-05-2018, 09:04

Did you try to change
int *plspr[32] =
to
static TINY plspr[] = {0x07,etc, etc};

By Jin

Resident (37)

Jin's picture

23-05-2018, 10:00

Edited message:

It works! i had to change the color sprite to static TINY too: Big smile

https://www.youtube.com/watch?v=oTLpGA30-QM&feature=youtu.be

By Wolverine_nl

Paragon (1129)

Wolverine_nl's picture

23-05-2018, 10:04

Ah of course, i forgot to mention that Wink Looks good Jin!

Page 8/8
1 | 2 | 3 | 4 | 5 | 6 | 7 |