Releasing New Object Graphic - Begginer Tutorial

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
Quast65
Tycoon
Tycoon
Posts: 1714
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Releasing New Object Graphic - Begginer Tutorial

Post by Quast65 »

Judging by the name of the graphics (especially the _8 part) and the error, I think the issue is with the 8bpp graphics.
So the ones that have a white background and blue box.
Check if the blue boxes are all indeed on the X-Y positions (the upper-left point) as stated in the code for that template.

The reason it does code without showing errors is because if you provide 32bpp graphics, the 8bpp graphics wont show up.
Otherwise you would have seen some white areas ingame.
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.

Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 3 guests