+include "ikaris.l2s"
+include "items.l2s"
+include "spells.l2s"
+
Number frameTime 33
Number twoFramesTime 66
Number fourFramesTime 132
}
Sprite lizardSprite {
- // using pathes relative to project root until path resolution is implemented
- image: "test-data/monster.png",
+ image: :"monster.png",
size: <64,64>
}
},
meleeAnimation: SimpleAnimation {
sprite: Sprite {
- image: "test-data/attack-monster.png",
+ image: :"attack-monster.png",
size: <96,64>
},
frametime: frameTime,
}
Sprite maximSprite {
- image: "test-data/maxim.png",
+ image: :"maxim.png",
size: <64,64>
}
export Hero maxim {
},
meleeAnimation: SimpleAnimation {
sprite: Sprite {
- image: "test-data/melee-maxim.png",
+ image: :"melee-maxim.png",
size: <96,96>
},
frametime: twoFramesTime,
}
Sprite selanSprite {
- image: "test-data/selan.png",
+ image: :"selan.png",
size: <64,64>
}
export Hero selan {
},
meleeAnimation: SimpleAnimation {
sprite: Sprite {
- image: "test-data/melee-selan.png",
+ image: :"melee-selan.png",
size: <96,96>
},
frametime: twoFramesTime,
}
Sprite guySprite {
- image: "test-data/guy.png",
+ image: :"guy.png",
size: <64,64>
}
export Hero guy {
},
meleeAnimation: SimpleAnimation {
sprite: Sprite {
- image: "test-data/melee-guy.png",
+ image: :"melee-guy.png",
size: <96,96>
},
frametime: fourFramesTime,
}
Sprite dekarSprite {
- image: "test-data/dekar.png",
+ image: :"dekar.png",
size: <64,64>
}
export Hero dekar {
},
meleeAnimation: SimpleAnimation {
sprite: Sprite {
- image: "test-data/melee-dekar.png",
+ image: :"melee-dekar.png",
size: <96,96>
},
frametime: twoFramesTime,
}
export Sprite swapCursor {
- image: "test-data/swap-cursor.png",
+ image: :"swap-cursor.png",
size: <32,32>
}
export Sprite attackIcons {
- image: "test-data/attack-type-icons.png",
+ image: :"attack-type-icons.png",
size: <32,32>
}
export Sprite attackChoiceIcons {
- image: "test-data/attack-choice-icons.png",
+ image: :"attack-choice-icons.png",
size: <16,16>
}
export Sprite moveIcons {
- image: "test-data/move-icons.png",
+ image: :"move-icons.png",
size: <32,32>
}
export Frame titleFrame {
- image: "test-data/title-frame.png",
+ image: :"title-frame.png",
border: <16,16>
}
export Font largeFont {
sprite: Sprite {
- image: "test-data/large-font.png",
+ image: :"large-font.png",
size: <16,32>
},
rowoffset: -2
]
}
export Sprite bigNumbers {
- image: "test-data/big-numbers.png",
+ image: :"big-numbers.png",
size: <16,32>
}
export Sprite bigGreenNumbers {
- image: "test-data/big-green-numbers.png",
+ image: :"big-green-numbers.png",
size: <16,32>
}
export Sprite heroTagLabels {
- image: "test-data/hero-tag-sprites.png",
+ image: :"hero-tag-sprites.png",
size: <32,16>
}
export Font heroTagFont {
sprite: Sprite {
- image: "test-data/numbers.png",
+ image: :"numbers.png",
size: <16,16>
},
rowoffset: -3
}
export Frame activeHeroTagFrame {
- image: "test-data/tag-frames.png",
+ image: :"tag-frames.png",
border: <16,16>
}
export Frame heroTagFrame {
- image: "test-data/tag-frames.png",
+ image: :"tag-frames.png",
border: <16,16>,
offset: < 0,33>
}
export Frame smallHeroTagFrame {
- image: "test-data/small-tag-frame.png",
+ image: :"small-tag-frame.png",
border: <8,16>
}
export Frame lastSmallHeroTagFrame {
- image: "test-data/small-tag-frame.png",
+ image: :"small-tag-frame.png",
border: <8,16>,
offset: <0,33>
-}
\ No newline at end of file
+}
+export Color heroesBgColor (24, 40, 49)
+
+export Gauge healthGauge {
+ image: :"gauges.png",
+ full: <0,16>,
+ empty: <0, 0>,
+ height: 16,
+ start: 6,
+ repeat: 1,
+ end: 6
+}
+export Gauge manaGauge {
+ image: :"gauges.png",
+ full: <0,32>,
+ empty: <0, 0>,
+ height: 16,
+ start: 6,
+ repeat: 1,
+ end: 6
+}
+export Gauge ikariGauge {
+ image: :"gauges.png",
+ full: <0,48>,
+ empty: <0, 0>,
+ height: 16,
+ start: 6,
+ repeat: 1,
+ end: 6
+}
+
+export Frame selectFrame {
+ image: :"select-frame.png",
+ border: <16,16>
+}
+export Font normalFont {
+ sprite: Sprite {
+ image: :"normal-font.png",
+ size: <16,16>
+ },
+ rowoffset: -2
+}
+export Font disabledFont {
+ sprite: Sprite {
+ image: :"disabled-font.png",
+ size: <16,16>
+ },
+ rowoffset: -2
+}
+export Sprite handCursor {
+ image: :"cursor-hand.png",
+ size: <32,32>
+}
+
+export Sprite weaponTargetCursor {
+ image: :"targeting-icons.png",
+ size: <32,32>
+}
+export Sprite magicTargetCursor {
+ image: :"targeting-icons.png",
+ size: <32,32>,
+ offset: <0,32>
+}
+export Sprite itemTargetCursor {
+ image: :"targeting-icons.png",
+ size: <32,32>,
+ offset: <0,64>
+}
+
+export String spellMenuHeadline "Please choose a spell."
+export MenuProperties spellMenuPrototype {
+ font: normalFont,
+ disabledFont: disabledFont,
+ cursor: handCursor,
+ charsPerEntry: 9,
+ rows: 6,
+ rowGap: 8,
+ iconSpace: 0,
+ cols: 2,
+ colGap: 32,
+ charsPerNumber: 2,
+ delimiter: ":"
+}
+
+export String itemMenuHeadline "Please choose an item."
+export MenuProperties itemMenuPrototype {
+ font: normalFont,
+ disabledFont: disabledFont,
+ cursor: handCursor,
+ charsPerEntry: 15,
+ rows: 6,
+ rowGap: 8,
+ iconSpace: 16,
+ cols: 1,
+ colGap: 32,
+ charsPerNumber: 2,
+ delimiter: ":"
+}
+
+export String ikariMenuHeadline "Please choose equipment."
+export MenuProperties ikariMenuPrototype {
+ font: normalFont,
+ disabledFont: disabledFont,
+ cursor: handCursor,
+ charsPerEntry: 12,
+ rows: 6,
+ rowGap: 8,
+ iconSpace: 16,
+ cols: 1,
+ colGap: 32,
+ charsPerAdditionalText: 12,
+ additionalTextGap: 16
+}
+export String noEquipmentText "No equip"
+
+export String escapeText "Escapes."