ThemeFiles.wiki
changeset 454 aa8bbe01c9bb
parent 453 fd4ae402ff13
child 455 e1f401fc74bb
equal deleted inserted replaced
453:fd4ae402ff13 454:aa8bbe01c9bb
    67 The name of an object mask file has to follow the pattern “`<object name>_mask.png`”, where “`<object name>`” is the file name of the object the mask is applied to, minus the suffix. For example, the mask of `cheese.png` would be `cheese_mask.png`. (See the Cheese theme in `Data/Themes/Cheese` in the Hedgewars installation directory for an example.)
    67 The name of an object mask file has to follow the pattern “`<object name>_mask.png`”, where “`<object name>`” is the file name of the object the mask is applied to, minus the suffix. For example, the mask of `cheese.png` would be `cheese_mask.png`. (See the Cheese theme in `Data/Themes/Cheese` in the Hedgewars installation directory for an example.)
    68 
    68 
    69 If an object mask is not provided, the object in question can be destroyed but will, unlike the main terrain, not leave the terrain background texture behind.
    69 If an object mask is not provided, the object in question can be destroyed but will, unlike the main terrain, not leave the terrain background texture behind.
    70 
    70 
    71 === Sprays ===
    71 === Sprays ===
    72 Sprays are single images of any size, they will be drawn onto the land texture (by `LandTex.png`). They can have any name as long as it is not any of the other names on this page. Sprays have to be configured in `theme.cfg`.
    72 Sprays are single images of any size, they will be drawn onto the land texture (by `LandTex.png`). You can choose the file name by yourselves, but it must follow the following rules:
       
    73 
       
    74  * It must have the suffix “`.png`”
       
    75  * It must not be equal with any other file name mentioned on this page
       
    76 
       
    77 Sprays have to be configured in `theme.cfg`.
    73 
    78 
    74 == Background ==
    79 == Background ==
    75 === `Sky.png` ===
    80 === `Sky.png` ===
    76 This image will be drawn far in the background behind the water, the horizont images and the landscape.
    81 This image will be drawn far in the background behind the water, the horizont images and the landscape.
    77 
    82