equal
deleted
inserted
replaced
80 * Pixels with _alpha value_ = 0 will not be subject to collision |
80 * Pixels with _alpha value_ = 0 will not be subject to collision |
81 * White pixels will be terrain |
81 * White pixels will be terrain |
82 * Red pixels will be indestructible terrain (regardless of game mode settings) |
82 * Red pixels will be indestructible terrain (regardless of game mode settings) |
83 * Black pixels will be terrain with background texture applied (Note: Adding any black pixels removes erasure protection from areas where the map.png is solid but the mask.png is transparent) - 0.9.17+ |
83 * Black pixels will be terrain with background texture applied (Note: Adding any black pixels removes erasure protection from areas where the map.png is solid but the mask.png is transparent) - 0.9.17+ |
84 * Blue pixels will be ice - 0.9.17+ |
84 * Blue pixels will be ice - 0.9.17+ |
85 * Green pixels block portals - 0.9.18+ They are defined as "bouncy" in the code, although this functionality is not implemented, and could be susceptible to change. If bouncing is implemented and the green pixels should only block portals, place a dotted line of single red pixels a few pixels above the green, spaced a few pixels apart. |
85 * Green pixels block portals - 0.9.18+ In 0.9.20+ they are implemented as "bouncy" - this is used for the Rubber weapon. This mask can be used normally for maps or theme objects. If bouncing is implemented and the green pixels should only block portals, place a dotted line of single red/black/white pixels a few pixels above the green, spaced a few pixels apart. This will keep most objects from interacting with the green, but prevent portal spawning. |
86 |
86 |
87 *Examples:* |
87 *Examples:* |
88 * [http://hedgewars.googlecode.com/hg/share/hedgewars/Data/Maps/portal/mask.png Mask] of [http://hedgewars.googlecode.com/hg/share/hedgewars/Data/Maps/portal/map.png Portal Map] |
88 * [http://hedgewars.googlecode.com/hg/share/hedgewars/Data/Maps/portal/mask.png Mask] of [http://hedgewars.googlecode.com/hg/share/hedgewars/Data/Maps/portal/map.png Portal Map] |
89 (Transparent areas may not be recognizeable as such in your browser/image preview program, so open e.g. in [http://www.gimp.org/ Gimp]) |
89 (Transparent areas may not be recognizeable as such in your browser/image preview program, so open e.g. in [http://www.gimp.org/ Gimp]) |
90 |
90 |