PresetMaps.wiki
changeset 264 215c1770969b
parent 242 4bd883e7d479
child 279 1d9a5422d1b9
equal deleted inserted replaced
263:afcb38bfd761 264:215c1770969b
    61   * Pixels with _alpha value_ = 0 will not be subject to collision
    61   * Pixels with _alpha value_ = 0 will not be subject to collision
    62   * White pixels will be terrain
    62   * White pixels will be terrain
    63   * Red pixels will be indestructible terrain (regardless of game mode settings)
    63   * Red pixels will be indestructible terrain (regardless of game mode settings)
    64   * 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+
    64   * 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+
    65   * Blue pixels will be ice - 0.9.17+
    65   * Blue pixels will be ice - 0.9.17+
       
    66   * 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.
    66 
    67 
    67 *Examples:*
    68 *Examples:*
    68   * [http://hedgewars.googlecode.com/hg/share/hedgewars/Data/Maps/Blizzard/mask.png Mask]  of [http://hedgewars.googlecode.com/hg/share/hedgewars/Data/Maps/Blizzard/map.png Blizzard Map]
    69   * [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]
    69 (Transparent areas may not be recognizeable as such in your browser/image preview program, so open e.g. in [http://www.gimp.org/ Gimp])
    70 (Transparent areas may not be recognizeable as such in your browser/image preview program, so open e.g. in [http://www.gimp.org/ Gimp])
    70 
    71 
    71 
    72 
    72 === map.lua ===
    73 === map.lua ===
    73 A Lua-script to be used together with the map.
    74 A Lua-script to be used together with the map.