animate traffic light, add stub for dungeon, some cleanup

* moved Krita images to sub folder
This commit is contained in:
Gerhard Aigner 2021-12-28 06:16:34 +01:00
parent da312df7dd
commit 3070785b4e
21 changed files with 590 additions and 216 deletions

View file

@ -1,196 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.4" tiledversion="1.4.3" name="blinkenwall_1st_iteration_set" tilewidth="32" tileheight="32" tilecount="200" columns="2">
<image source="blinkenwall_1st_iteration_set.png" width="64" height="3200"/>
<tile id="160">
<animation>
<frame tileid="4" duration="300"/>
<frame tileid="148" duration="300"/>
<frame tileid="144" duration="300"/>
<frame tileid="140" duration="300"/>
<frame tileid="136" duration="300"/>
<frame tileid="132" duration="300"/>
<frame tileid="128" duration="300"/>
<frame tileid="124" duration="300"/>
<frame tileid="120" duration="300"/>
<frame tileid="116" duration="300"/>
<frame tileid="112" duration="300"/>
<frame tileid="108" duration="300"/>
<frame tileid="104" duration="300"/>
<frame tileid="100" duration="300"/>
<frame tileid="96" duration="300"/>
<frame tileid="92" duration="300"/>
<frame tileid="88" duration="300"/>
<frame tileid="84" duration="300"/>
<frame tileid="80" duration="300"/>
<frame tileid="76" duration="300"/>
<frame tileid="72" duration="300"/>
<frame tileid="68" duration="300"/>
<frame tileid="64" duration="300"/>
<frame tileid="60" duration="300"/>
<frame tileid="0" duration="100"/>
<frame tileid="56" duration="300"/>
<frame tileid="0" duration="150"/>
<frame tileid="52" duration="300"/>
<frame tileid="48" duration="300"/>
<frame tileid="44" duration="300"/>
<frame tileid="40" duration="300"/>
<frame tileid="36" duration="300"/>
<frame tileid="32" duration="300"/>
<frame tileid="28" duration="300"/>
<frame tileid="24" duration="300"/>
<frame tileid="20" duration="300"/>
<frame tileid="16" duration="300"/>
<frame tileid="12" duration="300"/>
<frame tileid="8" duration="300"/>
<frame tileid="152" duration="100"/>
<frame tileid="156" duration="100"/>
<frame tileid="152" duration="100"/>
<frame tileid="0" duration="100"/>
<frame tileid="152" duration="100"/>
</animation>
</tile>
<tile id="161">
<animation>
<frame tileid="5" duration="350"/>
<frame tileid="149" duration="300"/>
<frame tileid="145" duration="300"/>
<frame tileid="141" duration="300"/>
<frame tileid="137" duration="300"/>
<frame tileid="133" duration="300"/>
<frame tileid="129" duration="300"/>
<frame tileid="125" duration="300"/>
<frame tileid="121" duration="300"/>
<frame tileid="117" duration="300"/>
<frame tileid="113" duration="300"/>
<frame tileid="109" duration="300"/>
<frame tileid="105" duration="300"/>
<frame tileid="101" duration="300"/>
<frame tileid="97" duration="300"/>
<frame tileid="93" duration="300"/>
<frame tileid="89" duration="300"/>
<frame tileid="85" duration="300"/>
<frame tileid="81" duration="300"/>
<frame tileid="77" duration="300"/>
<frame tileid="73" duration="300"/>
<frame tileid="69" duration="300"/>
<frame tileid="65" duration="300"/>
<frame tileid="61" duration="300"/>
<frame tileid="1" duration="150"/>
<frame tileid="57" duration="300"/>
<frame tileid="1" duration="100"/>
<frame tileid="53" duration="300"/>
<frame tileid="49" duration="300"/>
<frame tileid="45" duration="300"/>
<frame tileid="41" duration="300"/>
<frame tileid="37" duration="300"/>
<frame tileid="33" duration="300"/>
<frame tileid="29" duration="300"/>
<frame tileid="25" duration="300"/>
<frame tileid="21" duration="300"/>
<frame tileid="17" duration="300"/>
<frame tileid="13" duration="300"/>
<frame tileid="9" duration="300"/>
<frame tileid="153" duration="100"/>
<frame tileid="157" duration="100"/>
<frame tileid="153" duration="100"/>
<frame tileid="1" duration="100"/>
<frame tileid="153" duration="50"/>
</animation>
</tile>
<tile id="162">
<animation>
<frame tileid="6" duration="250"/>
<frame tileid="150" duration="300"/>
<frame tileid="146" duration="300"/>
<frame tileid="142" duration="300"/>
<frame tileid="138" duration="300"/>
<frame tileid="134" duration="300"/>
<frame tileid="130" duration="300"/>
<frame tileid="126" duration="300"/>
<frame tileid="122" duration="300"/>
<frame tileid="118" duration="300"/>
<frame tileid="114" duration="300"/>
<frame tileid="110" duration="300"/>
<frame tileid="106" duration="300"/>
<frame tileid="102" duration="300"/>
<frame tileid="98" duration="300"/>
<frame tileid="94" duration="300"/>
<frame tileid="90" duration="300"/>
<frame tileid="86" duration="300"/>
<frame tileid="82" duration="300"/>
<frame tileid="78" duration="300"/>
<frame tileid="74" duration="300"/>
<frame tileid="70" duration="300"/>
<frame tileid="66" duration="300"/>
<frame tileid="62" duration="300"/>
<frame tileid="2" duration="150"/>
<frame tileid="58" duration="250"/>
<frame tileid="2" duration="150"/>
<frame tileid="54" duration="300"/>
<frame tileid="50" duration="300"/>
<frame tileid="46" duration="300"/>
<frame tileid="42" duration="300"/>
<frame tileid="38" duration="300"/>
<frame tileid="34" duration="300"/>
<frame tileid="30" duration="300"/>
<frame tileid="26" duration="300"/>
<frame tileid="22" duration="300"/>
<frame tileid="18" duration="300"/>
<frame tileid="14" duration="300"/>
<frame tileid="10" duration="300"/>
<frame tileid="154" duration="100"/>
<frame tileid="158" duration="100"/>
<frame tileid="154" duration="100"/>
<frame tileid="2" duration="100"/>
<frame tileid="154" duration="150"/>
</animation>
</tile>
<tile id="163">
<animation>
<frame tileid="7" duration="300"/>
<frame tileid="151" duration="300"/>
<frame tileid="147" duration="300"/>
<frame tileid="143" duration="300"/>
<frame tileid="139" duration="300"/>
<frame tileid="135" duration="300"/>
<frame tileid="131" duration="300"/>
<frame tileid="127" duration="350"/>
<frame tileid="123" duration="300"/>
<frame tileid="119" duration="300"/>
<frame tileid="115" duration="300"/>
<frame tileid="111" duration="300"/>
<frame tileid="107" duration="300"/>
<frame tileid="103" duration="300"/>
<frame tileid="99" duration="300"/>
<frame tileid="95" duration="300"/>
<frame tileid="91" duration="300"/>
<frame tileid="87" duration="300"/>
<frame tileid="83" duration="300"/>
<frame tileid="79" duration="300"/>
<frame tileid="75" duration="300"/>
<frame tileid="71" duration="300"/>
<frame tileid="67" duration="300"/>
<frame tileid="63" duration="300"/>
<frame tileid="3" duration="100"/>
<frame tileid="59" duration="300"/>
<frame tileid="3" duration="150"/>
<frame tileid="55" duration="300"/>
<frame tileid="51" duration="300"/>
<frame tileid="47" duration="300"/>
<frame tileid="43" duration="300"/>
<frame tileid="39" duration="300"/>
<frame tileid="35" duration="300"/>
<frame tileid="31" duration="300"/>
<frame tileid="27" duration="300"/>
<frame tileid="23" duration="300"/>
<frame tileid="19" duration="300"/>
<frame tileid="15" duration="300"/>
<frame tileid="11" duration="250"/>
<frame tileid="155" duration="100"/>
<frame tileid="159" duration="100"/>
<frame tileid="159" duration="100"/>
<frame tileid="3" duration="100"/>
<frame tileid="159" duration="100"/>
</animation>
</tile>
</tileset>

BIN
dungeon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

129
dungeon_entrance.json Normal file
View file

@ -0,0 +1,129 @@
{ "compressionlevel":-1,
"height":5,
"infinite":false,
"layers":[
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":5,
"id":4,
"name":"collides",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":30,
"x":0,
"y":0
},
{
"data":[101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":5,
"id":6,
"name":"exit_map",
"opacity":1,
"properties":[
{
"name":"exitUrl",
"type":"string",
"value":"main.json#return_from_dungeon"
}],
"type":"tilelayer",
"visible":true,
"width":30,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":5,
"id":5,
"name":"start",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":30,
"x":0,
"y":0
},
{
"data":[21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21],
"height":5,
"id":1,
"name":"floor",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":30,
"x":0,
"y":0
},
{
"draworder":"topdown",
"id":2,
"name":"floorLayer",
"objects":[],
"opacity":1,
"type":"objectgroup",
"visible":true,
"x":0,
"y":0
},
{
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"height":5,
"id":3,
"name":"light",
"opacity":1,
"type":"tilelayer",
"visible":true,
"width":30,
"x":0,
"y":0
}],
"nextlayerid":7,
"nextobjectid":1,
"orientation":"orthogonal",
"renderorder":"right-down",
"tiledversion":"1.4.3",
"tileheight":32,
"tilesets":[
{
"columns":10,
"firstgid":1,
"image":"dungeon.png",
"imageheight":320,
"imagewidth":320,
"margin":0,
"name":"dungeon",
"spacing":0,
"tilecount":100,
"tileheight":32,
"tilewidth":32
},
{
"columns":9,
"firstgid":101,
"image":"community_content\/world-tiles\/mapUtilities.png",
"imageheight":32,
"imagewidth":288,
"margin":0,
"name":"mapUtilities",
"spacing":0,
"tilecount":9,
"tileheight":32,
"tiles":[
{
"id":3,
"properties":[
{
"name":"collides",
"type":"bool",
"value":true
}]
}],
"tilewidth":32
}],
"tilewidth":32,
"type":"map",
"version":1.4,
"width":30
}

BIN
image-sources/dungeon.kra Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

477
main.json

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<tileset version="1.4" tiledversion="1.4.3" name="traffic light" tilewidth="32" tileheight="32" tilecount="100" columns="1">
<image source="traffic light.png" width="32" height="3200"/>
</tileset>

BIN
traffic_light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB