improvement: new titlescreen

This commit is contained in:
Kazhnuz 2021-04-05 12:06:02 +02:00
parent 049c0c22f3
commit 207d37eddc
3 changed files with 362 additions and 24 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View file

@ -0,0 +1,343 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="27" height="15" tilewidth="16" tileheight="16" infinite="0" nextlayerid="19" nextobjectid="1">
<tileset firstgid="1" name="magiscarf" tilewidth="16" tileheight="16" tilecount="25200" columns="120">
<image source="../../../../../../../../Images/magiscarf.png" width="1920" height="3360"/>
<terraintypes>
<terrain name="ruines" tile="0"/>
<terrain name="herbes" tile="0"/>
</terraintypes>
<tile id="6016" terrain=",,,1"/>
<tile id="6017" terrain=",,1,1"/>
<tile id="6018" terrain=",,1,"/>
<tile id="6019" terrain=",1,1,1"/>
<tile id="6021" terrain="1,,1,1"/>
<tile id="6136" terrain=",1,,1"/>
<tile id="6137" terrain="1,1,1,1"/>
<tile id="6138" terrain="1,,1,"/>
<tile id="6256" terrain=",1,,"/>
<tile id="6257" terrain="1,1,,"/>
<tile id="6258" terrain="1,,,"/>
<tile id="6259" terrain="1,1,,1"/>
<tile id="6261" terrain="1,1,1,"/>
<tile id="14000" terrain=",,,0"/>
<tile id="14001" terrain=",,0,0"/>
<tile id="14002" terrain=",,0,"/>
<tile id="14120" terrain=",0,,0"/>
<tile id="14121" terrain="0,0,0,0"/>
<tile id="14122" terrain="0,,0,"/>
<tile id="14240" terrain=",0,,"/>
<tile id="14241" terrain="0,0,,"/>
<tile id="14242" terrain="0,,,"/>
<tile id="14360" terrain="0,0,0,"/>
<tile id="14362" terrain="0,0,,0"/>
<tile id="14600" terrain="0,,0,0"/>
<tile id="14602" terrain=",0,0,0"/>
</tileset>
<tileset firstgid="25201" name="alienor" tilewidth="16" tileheight="16" tilecount="6144" columns="48">
<image source="../../../../../../../../Images/alienor.png" width="768" height="2048"/>
</tileset>
<layer id="1" name="Calque de Tuiles 1" width="27" height="15">
<data encoding="csv">
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,
9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288,9288
</data>
</layer>
<layer id="2" name="Calque de Tuiles 2" width="27" height="15">
<data encoding="csv">
0,0,0,0,14121,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14123,0,0,0,0,
0,0,0,0,14121,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14123,0,0,0,0,
0,0,0,0,14241,14363,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14361,14243,0,0,0,0,
0,0,0,0,0,14121,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14123,0,0,0,0,0,
0,0,0,0,0,14241,14363,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14361,14242,14243,0,0,0,0,0,
0,0,0,0,0,0,14241,14242,14363,14122,14122,14122,14122,14122,14122,14122,14122,14122,14122,14123,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,14121,14122,14122,14122,14122,14122,14122,14122,14122,14122,14361,14243,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,14241,14242,14242,14242,14242,14242,14242,14242,14242,14242,14243,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="3" name="Calque de Tuiles 3" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,6017,6018,6019,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,6017,6018,6020,6138,6139,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,6137,6138,6138,6138,6022,6019,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,6017,6020,6138,6138,6138,6138,6022,6019,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,6137,6138,6138,6138,6138,6138,6138,6022,6019,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,6017,6020,6138,6262,6258,6260,6138,6138,6138,6139,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,6137,6138,6262,6259,0,6137,6138,6138,6138,6139,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,6137,6138,6022,6018,6018,6020,6138,6138,6138,6139,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,6137,6138,6138,6138,6138,6138,6138,6138,6138,6139,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="4" name="montagnes" width="27" height="15">
<data encoding="csv">
9289,0,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9287,9287,9287,0,0,
9289,0,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9287,9287,9287,0,0,
9289,0,0,0,9532,9649,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9167,9533,9287,9287,0,0,
9532,9168,9169,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9287,0,9287,9287,0,0,
0,0,9289,0,0,9532,9649,0,0,0,0,0,0,0,0,0,0,0,0,9167,9168,9533,0,9287,9287,0,0,
0,0,9289,0,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,0,9287,9287,0,0,
0,0,9532,9169,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9167,9533,0,9167,9168,9533,9287,0,0,
0,0,0,9289,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,9287,9288,0,9287,0,0,
0,0,0,9289,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,9287,0,0,9287,0,0,
0,0,0,9289,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,9287,0,0,9287,0,0,
0,0,0,9289,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,9287,0,0,9287,0,0,
0,0,0,9289,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,9287,0,0,9287,0,0,
0,0,0,9289,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,9287,0,0,9287,0,9167,
9288,9288,0,9289,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,9287,0,0,9287,0,9287,
9768,9288,0,9289,0,0,9289,0,0,0,0,0,0,0,0,0,0,0,9287,0,0,9287,0,0,9287,0,9287
</data>
</layer>
<layer id="5" name="Calque de Tuiles 5" width="27" height="15">
<data encoding="csv">
0,3053,3054,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2693,3053,3054,
0,3173,3174,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2813,3173,3174,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="6" name="Calque de Tuiles 6" width="27" height="15">
<data encoding="csv">
0,0,2333,2334,2335,2336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2213,2214,2215,2216,2453,2454,2455,
0,0,2453,2454,2455,2456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2333,2334,2335,2336,2573,2574,2575,
0,0,2573,2574,2575,2576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2453,2454,2455,2456,2693,2694,2695,
0,0,2693,2694,2695,2696,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2573,2574,2575,2576,2813,2814,2815,
0,0,2813,2814,2815,2816,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2693,2694,2695,2696,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2813,2814,2815,2816,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="7" name="Calque de Tuiles 7" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2093,2094,2095,
2098,2099,2100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2097,2098,2099,2100,0,0,2213,2214,2215,
2218,2219,2220,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2217,2218,2219,2220,0,0,2333,2334,2335,
2338,2339,2340,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2337,2338,2339,2340,0,0,2453,2454,2455,
2458,2459,2460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2457,2458,2459,2460,0,0,2573,2574,2575,
2578,2579,2580,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2577,2578,2579,2580,0,0,2693,2694,2695,
3295,3296,2700,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2697,2698,2699,2700,0,0,2813,2814,2815,
3415,3416,2820,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2817,2818,2819,2820,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="8" name="Calque de Tuiles 8" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,2093,2094,2095,2096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2093,2094,2095,
0,0,0,2213,2214,2215,2216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2213,2214,2215,
0,0,0,2333,2334,2335,2336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2333,2334,2335,
0,0,0,2453,2454,2455,2456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2453,2454,2455,
0,0,0,2573,2574,2575,2576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2573,2574,2575,
0,0,0,2693,2694,2695,2696,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2693,2694,2695,
0,0,0,2813,2814,2815,2816,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2813,2814,2815,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="10" name="Calque de Tuiles 9" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2097,2098,2099,2100,0,0,
2093,2094,2095,2096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2217,2218,2219,2220,0,0,
2213,2214,2215,2216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2337,2338,2339,2340,0,0,
2333,2334,2335,2336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2457,2458,2459,2460,0,0,
2453,2454,2455,2456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2577,2578,2579,2580,0,0,
2573,2574,2575,2576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2697,2698,2699,2700,0,0,
2693,2694,2695,2696,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2817,2818,2819,2820,0,0,
2813,2814,2815,2816,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="11" name="Calque de Tuiles 10" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2093,2094,2095,2096,0,0,2093,2094,2095,
0,0,0,2097,2098,2099,2100,0,0,0,0,0,0,0,0,0,0,0,2213,2214,2215,2216,0,0,2213,2214,2215,
0,0,0,2217,2218,2219,2220,0,0,0,0,0,0,0,0,0,0,0,2333,2334,2335,2336,0,0,2333,2334,2335,
0,0,0,2337,2338,2339,2340,0,0,0,0,0,0,0,0,0,0,0,2453,2454,2455,2456,0,0,2453,2454,2455,
0,0,0,2457,2458,2459,2460,0,0,0,0,0,0,0,0,0,0,0,2573,2574,2575,2576,0,0,2573,2574,2575,
0,0,0,2577,2578,2579,2580,0,0,0,0,0,0,0,0,0,0,0,2693,2694,2695,2696,0,0,2693,2694,2695,
0,0,0,2697,2698,2699,2700,0,0,0,0,0,0,0,0,0,0,0,2813,2814,2815,2816,0,0,2813,2814,2815,
0,0,0,2817,2818,2819,2820,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="12" name="Calque de Tuiles 11" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2093,2094,2095,2096,0,0,
2094,2095,2096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2213,2214,2215,2216,0,0,
2214,2215,2216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2333,2334,2335,2336,0,0,
2334,2335,2336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2453,2454,2455,2456,0,0,
2454,2455,2456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2573,2574,2575,2576,0,0,
2574,2575,2576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2693,2694,2695,2696,0,0,
2694,2695,2696,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2813,2814,2815,2816,0,0,
2814,2815,2816,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="13" name="Calque de Tuiles 12" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2093,2094,2095,2096,0,0,3773,3774,3775,
0,0,0,2093,2094,2095,2096,0,0,0,0,0,0,0,0,0,0,0,2213,2214,2215,2216,0,0,3893,3894,3895,
0,0,0,2213,2214,2215,2216,0,0,0,0,0,0,0,0,0,0,0,2333,2334,2335,2336,0,0,4013,4014,4015,
0,0,0,2333,2334,2335,2336,0,0,0,0,0,0,0,0,0,0,0,2453,2454,2455,2456,0,0,4133,4134,4135,
0,0,0,2453,2454,2455,2456,0,0,0,0,0,0,0,0,0,0,0,2573,2574,2575,2576,0,0,4253,4254,4255,
0,0,0,2573,2574,2575,2576,0,0,0,0,0,0,0,0,0,0,0,2693,2694,2695,2696,0,0,4373,4374,4375,
0,0,0,2693,2694,2695,2696,0,0,0,0,0,0,0,0,0,0,0,2813,2814,2815,2816,0,0,2813,2814,2815,
0,0,0,2813,2814,2815,2816,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="14" name="Calque de Tuiles 13" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
2093,2094,2095,2096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2093,2094,2095,2096,0,0,
2213,2214,2215,2216,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2213,2214,2215,2216,0,0,
2333,2334,2335,2336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2333,2334,2335,2336,0,0,
2453,2454,2455,2456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2453,2454,2455,2456,0,0,
2573,2574,2575,2576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2573,2574,2575,2576,0,0,
2693,2694,2695,2696,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2693,2694,2695,2696,0,0,
2813,2814,2815,2816,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2813,2814,2815,2816,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
</data>
</layer>
<layer id="15" name="Calque de Tuiles 14" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,25715,25716,0,0,0,0,0,0,25715,25716,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2097,2098,2099,2100,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2217,2218,2219,2220,0,0,0,0,0,
0,0,0,3777,3778,3779,3780,0,0,0,0,0,0,0,0,0,0,0,2337,2338,2339,2340,0,0,0,0,0,
0,0,0,3897,3898,3899,3900,0,0,0,0,0,0,0,0,0,0,0,2457,2458,2459,2460,0,0,0,0,0,
0,0,0,4017,4018,4019,4020,0,0,0,0,0,0,0,0,0,0,0,2577,2578,2579,2580,0,0,0,0,0,
0,0,0,4137,4138,4139,4140,0,0,0,0,0,0,0,0,0,0,0,2697,2698,2699,2700,0,0,0,0,0,
0,0,0,4257,4258,4259,4260,0,0,0,0,0,0,0,0,0,0,0,2817,2818,2819,2820,0,0,0,0,0
</data>
</layer>
<layer id="16" name="Calque de Tuiles 15" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,10074,0,0,0,0,8722,0,0,8722,0,0,0,0,10074,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,10074,0,0,0,8842,0,0,8842,0,0,0,10188,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,8722,0,0,8722,0,25571,25572,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,10188,25621,25622,0,8842,0,0,8842,0,25619,25620,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,25669,25670,0,8722,0,0,9082,10308,25667,25668,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,25717,25718,0,8842,0,0,9202,0,25715,25716,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9712,9713,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,10074,0,0,0,0,0,9832,9833,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10074,0,0,0,2093,2094,2095,2096,0,0,
2098,2099,2100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2213,2214,2215,2216,0,0,
2218,2219,2220,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2333,2334,2335,2336,0,0,
2338,2339,2340,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2453,2454,2455,2456,0,0,
2458,2459,2460,0,0,0,0,9834,0,0,0,0,0,0,0,0,0,0,0,0,0,2573,2574,2575,2576,0,0,
2578,2579,2580,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2693,2694,2695,2696,0,0
</data>
</layer>
<layer id="17" name="Calque de Tuiles 16" width="27" height="15">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,9000,0,0,0,0,9000,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,9000,0,0,0,0,9000,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,8129,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,8249,4493,0,0,0,0,0,0,0,0,4493,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,4613,0,0,0,0,0,0,0,0,4613,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,4733,0,0,0,0,0,0,0,0,4733,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,8248,0,0,0,4493,0,0,0,0,0,2093,2094,2095,2096,0,0,2097,2098,2099,
0,0,0,0,0,0,0,0,0,0,0,0,4613,0,0,0,0,0,2213,2214,2215,2216,0,0,2217,2218,2219,
0,0,0,0,0,0,0,0,0,0,0,0,4733,0,0,0,0,0,2333,2334,2335,2336,0,0,2337,2338,2339,
0,0,0,2093,2094,2095,2096,0,0,0,0,0,0,1617,1618,1619,1620,0,2453,2454,2455,2456,0,0,2457,2458,2459,
0,0,0,2213,2214,2215,2216,9107,9108,0,0,0,0,1737,1738,1739,1740,0,2573,2574,2575,2576,0,0,2577,2578,2579
</data>
</layer>
</map>

View file

@ -27,6 +27,7 @@ local gui = require "game.modules.gui"
local TweenManager = require "game.modules.tweenmanager"
local Background = require "game.modules.drawing.parallaxBackground"
local Menu = require "scenes.menus.titlescreen.menu"
local zoneList = require("datas.gamedata.maps.shoot.zones")
@ -34,16 +35,18 @@ function TitleScreen:new()
TitleScreen.super.new(self)
self.borders = gui.newBorder(424, 30, 8)
self.assets:addImage("sonic", "assets/artworks/titlescreen_sonic.png")
self.assets:addImage("logo", "assets/artworks/logo.png")
self.assets:addImageFont("menu", "assets/gui/fonts/SA2font")
self.assets:addFont("small", "assets/gui/fonts/PixelOperator.ttf", 16)
self.assets:addTileset("charicons", "assets/sprites/characters/charicons")
self.assets.fonts["small"]:setLineHeight(16/18)
self.assets.fonts["small"]:setFilter("shadow")
self.tweens = TweenManager(self)
self:initBackground()
self.borderY = 0
self.logoX = 270
self.sonicX = -180
self.darkenOpacity = 1
self.flashOpacity = 0
@ -51,32 +54,22 @@ function TitleScreen:new()
self.showPressStart = true
self.showPressStartTimer = 0.5
self.haveMenu = false
self.tweens:newTween(0.2, 0.5, {borderY = 30}, "inOutQuart")
self.tweens:newTween(0.5, 0.4, {darkenOpacity = 0}, "outExpo")
self.tweens:newTween(0.7, 0.6, {logoX = 0}, "inOutQuart")
self.tweens:newTween(0.7, 0.6, {sonicX = 0}, "inOutQuart")
self.tweens:newTween(1.3, 0.03, {flashOpacity = 1}, "inQuart")
self.tweens:newTween(1.45, 0.2, {flashOpacity = 0}, "outExpo")
self.tweens:newSwitch(1.4, { "canShowPressStart" })
self:register()
end
function TitleScreen:initBackground()
local randomZoneList = {}
for k,v in pairs(zoneList) do
table.insert(randomZoneList, k)
end
local id = math.ceil(love.math.random() * #randomZoneList)
self.zone = randomZoneList[id]
self.background = Background(self, 5, 1, self.zone)
self.x = 0
self.background = love.graphics.newImage("datas/gamedata/maps/sti/stuff/tilescreen.png")
end
function TitleScreen:update(dt)
self.tweens:update(dt)
self.x = ((self.x + 45*dt))
if (self.canShowPressStart) then
self.showPressStartTimer = self.showPressStartTimer - dt
if self.showPressStartTimer < 0 then
@ -85,8 +78,9 @@ function TitleScreen:update(dt)
end
local keys = self:getKeys(1)
if (keys["start"].isPressed) then
scenes.debug.menu()
if (keys["start"].isPressed and (self.haveMenu == false)) then
Menu(self)
self.haveMenu = true
end
end
@ -94,26 +88,27 @@ end
function TitleScreen:draw()
utils.graphics.resetColor()
self.background:drawParallax(self.x, -self.background:getStartY(), 424, 240)
local w, h = self.background:getDimensions()
love.graphics.draw(self.background,424/2,240/2,0,1,1,w/2,h/2)
love.graphics.setColor(0, 0, 0, self.darkenOpacity)
love.graphics.rectangle("fill", 0, 0, 424, 240)
utils.graphics.resetColor( )
love.graphics.draw(self.borders, 0, self.borderY, 0, 1, -1)
love.graphics.draw(self.borders, 424, 240 - self.borderY, 0, -1, 1)
self.assets:drawImage("sonic", 90 + self.sonicX, 128, 0, 1, 1, 92, 106)
self.assets:drawImage("logo", 290 + self.logoX, 60, 0, 1, 1, 150, 71)
local w, h = self.assets.images["logo"]:getDimensions()
self.assets:drawImage("logo", 240 - 32, 80 - self.logoX, 0, 1, 1, w/2, h/2)
if (self.canShowPressStart) and (self.showPressStart) then
local w = self.assets.fonts["menu"]:getWidth("PRESS START")
self.assets.fonts["menu"]:print("PRESS START", 424/1.5, 240/1.5, "center", 0, 1, 1)
self.assets.fonts["menu"]:print("PRESS START", 424/2, 240/1.33, "center", 0, 1, 1)
end
love.graphics.setColor(1, 1, 1, self.flashOpacity)
love.graphics.rectangle("fill", 0, 0, 424, 240)
utils.graphics.resetColor( )
love.graphics.draw(self.borders, 0, self.borderY, 0, 1, -1)
love.graphics.draw(self.borders, 424, 240 - self.borderY, 0, -1, 1)
end
return TitleScreen