empty shell for level 4
This commit is contained in:
parent
8283a4a051
commit
b094c8a3f7
|
@ -43,6 +43,7 @@ set(ASSETS
|
|||
assets-cg/tilesets/cavern.tsx
|
||||
assets-cg/tilesets/lab.tsx
|
||||
assets-cg/tilesets/heaven.tsx
|
||||
assets-cg/tilesets/machine.tsx
|
||||
# Levels
|
||||
assets-cg/levels/lv1.tmx
|
||||
assets-cg/levels/lv1.txt
|
||||
|
@ -50,6 +51,8 @@ set(ASSETS
|
|||
assets-cg/levels/lv2.txt
|
||||
assets-cg/levels/lv3.tmx
|
||||
assets-cg/levels/lv3.txt
|
||||
assets-cg/levels/lv4.tmx
|
||||
assets-cg/levels/lv4.txt
|
||||
assets-cg/levels/lvsandbox.tmx
|
||||
assets-cg/levels/lvsandbox.txt
|
||||
# Menu
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.8" tiledversion="1.8.6" orientation="orthogonal" renderorder="right-down" width="24" height="11" tilewidth="16" tileheight="16" infinite="0" nextlayerid="4" nextobjectid="1">
|
||||
<tileset firstgid="1" source="../tilesets/machine.tsx"/>
|
||||
<layer id="1" name="Ground" width="24" height="11">
|
||||
<data encoding="csv">
|
||||
2,2,2,2,2,2,2,2,2,7,7,7,7,7,7,2,2,2,2,2,2,2,2,2,
|
||||
2,2,2,2,7,7,7,7,7,6,6,6,6,6,6,7,7,7,7,7,2,2,2,2,
|
||||
2,2,7,7,3,3,3,6,6,5,6,3,3,6,5,6,6,3,3,3,7,7,2,2,
|
||||
2,7,3,3,3,3,3,2,2,3,5,6,6,5,3,2,2,3,3,3,3,3,7,2,
|
||||
2,6,14,2,2,5,6,8,7,2,3,5,5,3,3,2,8,6,4,2,2,14,14,2,
|
||||
2,5,4,16,16,4,6,3,3,7,2,3,3,2,2,8,3,6,14,16,16,4,6,2,
|
||||
2,6,4,4,14,4,6,6,6,5,8,3,3,7,15,6,6,14,4,4,14,4,6,2,
|
||||
2,2,5,6,5,6,2,6,5,3,3,3,3,3,3,5,6,2,6,14,5,14,2,2,
|
||||
2,2,2,2,2,2,2,2,2,4,4,3,3,4,4,2,2,2,2,2,2,2,2,2,
|
||||
2,2,2,2,2,2,2,2,2,2,2,4,4,2,2,2,2,2,2,2,2,2,2,2,
|
||||
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
|
||||
</data>
|
||||
</layer>
|
||||
<layer id="3" name="Decorations" width="24" height="11">
|
||||
<data encoding="csv">
|
||||
0,0,0,0,0,0,0,0,0,17,8,9,9,8,17,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,9,10,11,0,0,4,0,0,0,0,4,0,0,10,11,9,0,0,0,0,
|
||||
0,0,0,17,0,0,0,0,0,0,0,0,0,20,0,0,0,0,0,0,17,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,20,0,0,9,0,10,11,0,0,9,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
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>
|
||||
</map>
|
|
@ -0,0 +1,9 @@
|
|||
name: Mecha Airship
|
||||
map: lv4
|
||||
|
||||
player_spawn: 10,3
|
||||
|
||||
spawner: 6,5
|
||||
spawner: 13,2
|
||||
|
||||
wave: 10s 4*slime/1
|
|
@ -0,0 +1,110 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.8" tiledversion="1.8.6" name="machine" tilewidth="16" tileheight="16" tilecount="24" columns="8">
|
||||
<image source="machine.png" width="128" height="48"/>
|
||||
<tile id="1">
|
||||
<properties>
|
||||
<property name="plane" value="CEILING"/>
|
||||
<property name="solid" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="3">
|
||||
<animation>
|
||||
<frame tileid="3" duration="250"/>
|
||||
<frame tileid="12" duration="200"/>
|
||||
</animation>
|
||||
</tile>
|
||||
<tile id="6">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
<property name="solid" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="7">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
<property name="solid" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="8">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="9">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="10">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="14">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
<property name="solid" type="bool" value="true"/>
|
||||
</properties>
|
||||
<animation>
|
||||
<frame tileid="14" duration="200"/>
|
||||
<frame tileid="22" duration="200"/>
|
||||
</animation>
|
||||
</tile>
|
||||
<tile id="15">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
<property name="solid" type="bool" value="true"/>
|
||||
</properties>
|
||||
<animation>
|
||||
<frame tileid="15" duration="1000"/>
|
||||
<frame tileid="23" duration="200"/>
|
||||
</animation>
|
||||
</tile>
|
||||
<tile id="16">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
</properties>
|
||||
<animation>
|
||||
<frame tileid="18" duration="1000"/>
|
||||
<frame tileid="17" duration="100"/>
|
||||
<frame tileid="16" duration="400"/>
|
||||
<frame tileid="17" duration="100"/>
|
||||
<frame tileid="16" duration="100"/>
|
||||
<frame tileid="17" duration="100"/>
|
||||
<frame tileid="16" duration="1000"/>
|
||||
<frame tileid="17" duration="200"/>
|
||||
<frame tileid="18" duration="1000"/>
|
||||
<frame tileid="17" duration="200"/>
|
||||
</animation>
|
||||
</tile>
|
||||
<tile id="17">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="18">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="19">
|
||||
<animation>
|
||||
<frame tileid="19" duration="500"/>
|
||||
<frame tileid="20" duration="500"/>
|
||||
<frame tileid="21" duration="500"/>
|
||||
<frame tileid="20" duration="500"/>
|
||||
</animation>
|
||||
</tile>
|
||||
<tile id="22">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
<property name="solid" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
<tile id="23">
|
||||
<properties>
|
||||
<property name="plane" value="WALL"/>
|
||||
<property name="solid" type="bool" value="true"/>
|
||||
</properties>
|
||||
</tile>
|
||||
</tileset>
|
|
@ -4,6 +4,7 @@ level_t const *level_all[LEVEL_COUNT] = {
|
|||
&level_lv1,
|
||||
&level_lv2,
|
||||
&level_lv3,
|
||||
&level_lv4,
|
||||
&level_lvsandbox,
|
||||
};
|
||||
|
||||
|
|
|
@ -81,7 +81,8 @@ int level_wave_count(level_t const *lv);
|
|||
extern level_t level_lv1;
|
||||
extern level_t level_lv2;
|
||||
extern level_t level_lv3;
|
||||
extern level_t level_lv4;
|
||||
extern level_t level_lvsandbox;
|
||||
|
||||
#define LEVEL_COUNT 4
|
||||
#define LEVEL_COUNT 5
|
||||
extern level_t const *level_all[LEVEL_COUNT];
|
||||
|
|
Loading…
Reference in New Issue