X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=test-data%2Ftest.l2s;h=b7e1acd27bfb9912aba6285b5c9b4a35f5b0334d;hb=8f54789ae7d974035b9103982c38e1714a15728b;hp=d53fe76b52257b5798d16e3b6354de74abea8794;hpb=912fc1a30dc8ec2ab782256d32e517206c87a04c;p=l2e.git diff --git a/test-data/test.l2s b/test-data/test.l2s index d53fe76..b7e1acd 100644 --- a/test-data/test.l2s +++ b/test-data/test.l2s @@ -3,6 +3,23 @@ Number twoFramesTime 66 Number fourFramesTime 132 Number fiveFramesTime 165 // darn, i really need to implement expressions +export PartyLayout monstersLayout { + positions: [ + < 88, 88>, + <128, 88>, + <168, 88>, + <208, 88> + ] +} +export PartyLayout heroesLayout { + positions: [ + < 48,136>, + <128,136>, + < 80,152>, + <160,152> + ] +} + Sprite lizardSprite { // using pathes relative to project root until path resolution is implemented image: "test-data/monster.png", @@ -314,3 +331,115 @@ export Hero dekar { framecount: 4 } } + +export Sprite swapCursor { + image: "test-data/swap-cursor.png", + size: <32,32> +} +export Sprite attackIcons { + image: "test-data/attack-type-icons.png", + size: <32,32> +} +export Sprite attackChoiceIcons { + image: "test-data/attack-choice-icons.png", + size: <16,16> +} +export Sprite moveIcons { + image: "test-data/move-icons.png", + size: <32,32> +} + +export Frame titleFrame { + image: "test-data/title-frame.png", + border: <16,16> +} + +export Font largeFont { + sprite: Sprite { + image: "test-data/large-font.png", + size: <16,32> + }, + rowoffset: -2 +} + +export ComplexAnimation numberAnimationPrototype { + frametime: frameTime, + repeat: false, + frames: [ + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0,-26> }, + { column: 0, row: 0, disposition: < 0,-42> }, + { column: 0, row: 0, disposition: < 0,-48> }, + { column: 0, row: 0, disposition: < 0,-42> }, + { column: 0, row: 0, disposition: < 0,-26> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0,-12> }, + { column: 0, row: 0, disposition: < 0,-20> }, + { column: 0, row: 0, disposition: < 0,-24> }, + { column: 0, row: 0, disposition: < 0,-20> }, + { column: 0, row: 0, disposition: < 0,-12> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, -6> }, + { column: 0, row: 0, disposition: < 0,-10> }, + { column: 0, row: 0, disposition: < 0,-12> }, + { column: 0, row: 0, disposition: < 0,-10> }, + { column: 0, row: 0, disposition: < 0, -6> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0, 0> }, + { column: 0, row: 0, disposition: < 0,-36> }, + { column: 0, row: 0, disposition: < 0,-32> }, + { column: 0, row: 0, disposition: < 0,-18> } + ] +} +export Sprite bigNumbers { + image: "test-data/big-numbers.png", + size: <16,32> +} +export Sprite bigGreenNumbers { + image: "test-data/big-green-numbers.png", + size: <16,32> +} + +export Sprite heroTagLabels { + image: "test-data/hero-tag-sprites.png", + size: <32,16> +} +export Font heroTagFont { + sprite: Sprite { + image: "test-data/numbers.png", + size: <16,16> + }, + rowoffset: -3 +} + +export Frame activeHeroTagFrame { + image: "test-data/tag-frames.png", + border: <16,16> +} +export Frame heroTagFrame { + image: "test-data/tag-frames.png", + border: <16,16>, + offset: < 0,33> +} + +export Frame smallHeroTagFrame { + image: "test-data/small-tag-frame.png", + border: <8,16> +} +export Frame lastSmallHeroTagFrame { + image: "test-data/small-tag-frame.png", + border: <8,16>, + offset: <0,33> +} \ No newline at end of file