image not showing!

codycox.c
Posts: 49
Joined: Thu Mar 08, 2012 2:26 am

Re: image not showing!

Post by codycox.c » Sun May 06, 2012 3:24 am

Yes I did everything you said to do maybe you should test the code

mtheall
Posts: 210
Joined: Thu Feb 03, 2011 10:47 pm

Re: image not showing!

Post by mtheall » Sun May 06, 2012 3:43 am

Okay I'll try it, although i always use tiled sprites.

mtheall
Posts: 210
Joined: Thu Feb 03, 2011 10:47 pm

Re: image not showing!

Post by mtheall » Sun May 06, 2012 3:51 am

a ha! You need to use SpriteColorFormat_Bmp also instead of SpriteColorFormat_256Color

codycox.c
Posts: 49
Joined: Thu Mar 08, 2012 2:26 am

Re: image not showing!

Post by codycox.c » Sun May 06, 2012 3:54 am

If using tiled sprites is the preferred way I would like to use tiled sprites.

mtheall
Posts: 210
Joined: Thu Feb 03, 2011 10:47 pm

Re: image not showing!

Post by mtheall » Sun May 06, 2012 3:57 am

Also, the palette number is actually alpha for bmp sprites

codycox.c
Posts: 49
Joined: Thu Mar 08, 2012 2:26 am

Re: image not showing!

Post by codycox.c » Sun May 06, 2012 3:58 am

Could you show me the code to use tiled sprites?

mtheall
Posts: 210
Joined: Thu Feb 03, 2011 10:47 pm

Re: image not showing!

Post by mtheall » Sun May 06, 2012 4:01 am

Use -gt and not -gb. Use SpriteMapping_1D_128 (without Bmp). Use SpriteColorFormat_256Color

codycox.c
Posts: 49
Joined: Thu Mar 08, 2012 2:26 am

Re: image not showing!

Post by codycox.c » Sun May 06, 2012 4:26 am

This is exactly what the sprite looks like when I ran the program. What can I do to fix it?
Attachments
untitled.PNG
(854 Bytes) Not downloaded yet

mtheall
Posts: 210
Joined: Thu Feb 03, 2011 10:47 pm

Re: image not showing!

Post by mtheall » Sun May 06, 2012 4:37 am

OMG SO OBVIOUS. Now that I'm on my computer I can see. You have a 32x32 sprite, not a 64x64 sprite. Use SpriteSize_32x32.

codycox.c
Posts: 49
Joined: Thu Mar 08, 2012 2:26 am

Re: image not showing!

Post by codycox.c » Sun May 06, 2012 4:42 am

Thanks for all of your help I finally got it to work! 8)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests