Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Gamedev:Sidepics: Difference between revisions

From FIGHTORDER
imported>Hoijui
add PNG support to the specs
imported>Flozi
Why repeat the same information twice?
Line 4: Line 4:
* be 16x16 pixels
* be 16x16 pixels
* be in either ''PNG'' (preferred) or ''BMP'' format (where white=(RGB: 255,255,255) is transparent)
* be in either ''PNG'' (preferred) or ''BMP'' format (where white=(RGB: 255,255,255) is transparent)
* be located in the [[Mod_Development:Archives|''sidepics'']] directory (see below)
* be located in the [[Game_structure|''Sidepics/'']] directory
* be named the same as the ''name'' field in ''sidedata.tdf'' (see below)
* be named the same as the ''name'' field in [[sidedata.lua]]
 
===Directory===
The "sidepics" directory goes in your game's root. Please see [[Mod_Development:Archives]] for more details on the directories Spring reads.
 
===Filename===
The filename must be the same as the name field in [[Sidedata.lua]] file.


[[Category:Game development]]
[[Category:Game development]]

Revision as of 12:59, 14 January 2012

Sidepics are the faction icons which display in the Multiplayer Lobbies. They have to follow these simple rules:

  • be 16x16 pixels
  • be in either PNG (preferred) or BMP format (where white=(RGB: 255,255,255) is transparent)
  • be located in the Sidepics/ directory
  • be named the same as the name field in sidedata.lua