Sprites in MSX-C

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

By Wolverine_nl

Paragon (1046)

Wolverine_nl's picture

19-11-2014, 11:00

Hi Jlemos, long time!
Some "daily" life stuff takes the upper hand, got married, started C++ gaming development, going through some basic pattern options for engine and event handling etc.
I will not throw away what the project did and maybe I will return to it, once I got more time ;-)
I also bumped into some boundries in ASCII MSX-C, even with extra linking etc it didn't got solved that there is a max on a few things.
Next time I will probably go compile in SDCC, there is more documentation and possibilities.

At least I can say I tried the pesky ASCII MSX-C compiler and it didnt dissapoint that much, only code sometimes seemed unlogic Wink

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 (1046)

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 (1046)

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 |