I have a sprite error. Please help

Post Reply
Nachthimmel
Posts: 4
Joined: Fri Jun 28, 2024 7:24 pm

I have a sprite error. Please help

Post by Nachthimmel »

This is a sprite I made, but the background of the tank hull turns black even though it is transparent... Does anyone know why?
Uploading a screenshot along with the sprite I created.
Attachments
sprite tank hull
sprite tank hull
wip_leopardette_hs.png (550 Bytes) Viewed 490 times
sprite tank turret
sprite tank turret
wip_leopardette_ts.png (850 Bytes) Viewed 490 times
screenshot
screenshot
20240629041729_1.jpg (421.6 KiB) Viewed 490 times
Nikel
Posts: 2218
Joined: Tue Mar 24, 2009 10:51 am

Re: I have a sprite error. Please help

Post by Nikel »

The size of the modded graphics are different in this other example.

https://www.matrixgames.com/forums/view ... 9#p4510879

96x173 pixels for the hull.

90x310 for the turret.

However in your example both are 50x200.
Nachthimmel
Posts: 4
Joined: Fri Jun 28, 2024 7:24 pm

Re: I have a sprite error. Please help

Post by Nachthimmel »

Nikel wrote: Fri Jun 28, 2024 9:00 pm The size of the modded graphics are different in this other example.

https://www.matrixgames.com/forums/view ... 9#p4510879

96x173 pixels for the hull.

90x310 for the turret.

However in your example both are 50x200.
Thanks for the help, but unfortunately changing the size of the sprite didn't solve the problem...
I'm still trying to solve the sprite error.
User avatar
Veitikka
Posts: 1508
Joined: Sun Jun 24, 2007 10:11 pm
Location: Finland
Contact:

Re: I have a sprite error. Please help

Post by Veitikka »

I think it's an indexed image. Perhaps that's why it doesn't work properly in the game.
Know thyself!
Nachthimmel
Posts: 4
Joined: Fri Jun 28, 2024 7:24 pm

Re: I have a sprite error. Please help

Post by Nachthimmel »

Veitikka wrote: Sat Jun 29, 2024 11:15 pm I think it's an indexed image. Perhaps that's why it doesn't work properly in the game.
If so, how can I solve this problem? Could a solution be to add some different colors to the outside of the tank sprite?
User avatar
Veitikka
Posts: 1508
Joined: Sun Jun 24, 2007 10:11 pm
Location: Finland
Contact:

Re: I have a sprite error. Please help

Post by Veitikka »

In Gimp I select Image > Mode, and there are the options RGB, Grayscale, and Indexed. You can try to use RGB instead of Indexed, which seems to be enabled in your image.
Know thyself!
Nachthimmel
Posts: 4
Joined: Fri Jun 28, 2024 7:24 pm

Re: I have a sprite error. Please help

Post by Nachthimmel »

Veitikka wrote: Sun Jun 30, 2024 2:02 pm In Gimp I select Image > Mode, and there are the options RGB, Grayscale, and Indexed. You can try to use RGB instead of Indexed, which seems to be enabled in your image.
I use Paint.NET instead of Gimp. I'll trying to find out if there is a similar function. Thanks for help!
Post Reply

Return to “MODS and Scenarios”