32bpp sprites and Zoom levels

Discussions about the technical aspects of graphics development, including NewGRF tools and utilities.

Moderator: Graphics Moderators

Post Reply
Posts: 7
Joined: 24 Apr 2020 19:55

32bpp sprites and Zoom levels

Post by werbfred »


With a friend of mine we are considering making a mod with 32bpp sprites. There are already existing ones zbase, abase, https://wiki.openttd.org/32bpp_Extra_Zoom_Levels_Files (uncomplete and missing files)...

So we started plyaing around with the basic of temperate flat tile. Somehting very basic yet...

We have created a 256 x 128 pixels tile for the zoom level 4x 8) Works pretty well :D

In NML, we have only defined 4x zoom yet, and been reusing the original TTD file for the 8bpp purpose.

I was expexting that our tile would only show up on the 4x zoom level, but it was showing up on every zoom level... Why defining sprites for different zoom levels, if they are being computed by the game? Why not generating only Zoom 4x 32bpp sprites ?

Thanks in advance.
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: 32bpp sprites and Zoom levels

Post by Alberth »


The game doesn't know what the important colour is, it just merges colours equally.
Being a retired OpenTTD developer does not mean I know what I am doing.
Post Reply

Return to “NewGRF Technical Discussions”

Who is online

Users browsing this forum: No registered users and 0 guests