Page 1 of 1
I have a sprite error. Please help
Posted: Fri Jun 28, 2024 7:34 pm
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.
Re: I have a sprite error. Please help
Posted: Fri Jun 28, 2024 9:00 pm
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.
Re: I have a sprite error. Please help
Posted: Sat Jun 29, 2024 11:14 am
by Nachthimmel
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.
Re: I have a sprite error. Please help
Posted: Sat Jun 29, 2024 11:15 pm
by Veitikka
I think it's an indexed image. Perhaps that's why it doesn't work properly in the game.
Re: I have a sprite error. Please help
Posted: Sun Jun 30, 2024 12:59 pm
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?
Re: I have a sprite error. Please help
Posted: Sun Jun 30, 2024 2:02 pm
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.
Re: I have a sprite error. Please help
Posted: Mon Jul 01, 2024 2:27 pm
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!