Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español – España (spanska – Spanien)
Español – Latinoamérica (spanska – Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (portugisiska – Portugal)
Português – Brasil (portugisiska – Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (ukrainska)
Rapportera problem med översättningen
InventoryIconSprite -- representation of item in inventory bar. Takes same parameters as Sprite tag. Item will be present with main sprite as inventory icon once this tag is omitted.
Upgrade -- usually defines the game version item is defined to be used in with respective parameter gameversion=... as it's required for proper operation of game's equipment upgrade system.
Body -- definition of item hitbox and behavior once put in water. Takes three parameters: width, height and density, where density=10 makes item neutrally buoyant (staying still in water while idle). Not needed for stationary items such as machinery.
scale -- float number that indicates the size of item in-game compared to source sprite size. For example, scale=0.5 will make item two times smaller than sprite's initial size.
file -- used to define location of sprite. Without directory given, this parameter will refer to file with entered name in same directory as item file.
sourcerect -- array of four numbers used to define the section of image used as item's sprite. Source rect selection syntax is defined like this: [selection_start_left],[selection_start_top],[width_from_left],[height_from_top]. For example, sourcerect=0,64,64,64 will select area of 64x64 on left edge and 64 pixels down from top edge.
origin -- offset of sprite's central point. Consists of two float numbers: [origin_x],[origin_y], where value of 0 is left or top edge and value of 1 is right or bottom edge. Majority of sprites are considered to be displayed with sprites located in the middle, which is origin=0.5,0.5. Pay attention that float numbers are defined with dot as divider rather than comma, as comma plays role of value separation in array.