82
edits
Changes
Icons
,no edit summary
Icons are exactly that, icons representing an asset in the game's GUI. Mashinky game icons are PNG textures with alpha channel. Icons support Company colors. For that purpose an icon consists of two parts. One is the whole vehicle with white area to be painted by company color and the other is a mask of the area to be painted by company color. An example follows.
[[File:icons.jpg|none|200px|thumb|left|Normal map converted by njobIcon exmaple]]
Above picture shows the icon and its dimensions and the alpha channel. One icon texture can contain icons for multiple vehicles. To differentiate between multiple icons in one file, the game uses a tcoords.xml file that determines the coordinates of every icon in the file and its color mask. T