Hi,
Last night I just started with Dark GDK, I have been playing around with create animated sprite and I encounter a problem:
These are what I did:
1. I started with the default 2D game template (the one with asteroids).
2. I go to google and search for a Charset image and I found a dragon charset with white background and with 4x4 tile but smaller resolution.
3. I set the color type to white (255,255,255), instead of the default asteroid bright pink
4. I change the code:
dbCreateAnimatedSprite(1,"dragon.bmp",4,4,1);
5. I rebuild and run it, the result is I don't have my dragon !!!
6. I know that the asteroid is working, so I took my dragon picture, using mspaint I cut and crop my dragon image one by one and paste it on each of the asteroid.
7. Remove bits and pieces of remaining asteroid picture, put a white background and run the program again.
Amazing, I got my dragon !!!!
My question is, Is there something wrong with my original dragon charset?
It has 4x4 same as the asteroid and I convert it to bmp (i thought png will not work), and it just has different resolution.
How does CreateAnimatedSprite detect the tile size?
All Bug has 100% repro steps