Add warp tutorial.
This commit is contained in:
parent
1a52f36e5f
commit
1933c48820
3 changed files with 96 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -33,6 +33,7 @@ levels = \
|
||||||
modules/game/levels/tutorial-5.scm \
|
modules/game/levels/tutorial-5.scm \
|
||||||
modules/game/levels/tutorial-6.scm \
|
modules/game/levels/tutorial-6.scm \
|
||||||
modules/game/levels/tutorial-7.scm \
|
modules/game/levels/tutorial-7.scm \
|
||||||
|
modules/game/levels/tutorial-8.scm \
|
||||||
modules/game/levels/level-1.scm \
|
modules/game/levels/level-1.scm \
|
||||||
modules/game/levels/level-2.scm \
|
modules/game/levels/level-2.scm \
|
||||||
modules/game/levels/level-3.scm \
|
modules/game/levels/level-3.scm \
|
||||||
|
|
2
game.scm
2
game.scm
|
@ -36,6 +36,7 @@
|
||||||
(game levels tutorial-5)
|
(game levels tutorial-5)
|
||||||
(game levels tutorial-6)
|
(game levels tutorial-6)
|
||||||
(game levels tutorial-7)
|
(game levels tutorial-7)
|
||||||
|
(game levels tutorial-8)
|
||||||
(game levels level-1)
|
(game levels level-1)
|
||||||
(game levels level-2)
|
(game levels level-2)
|
||||||
(game levels level-3)
|
(game levels level-3)
|
||||||
|
@ -104,6 +105,7 @@
|
||||||
load-tutorial-5
|
load-tutorial-5
|
||||||
load-tutorial-6
|
load-tutorial-6
|
||||||
load-tutorial-7
|
load-tutorial-7
|
||||||
|
load-tutorial-8
|
||||||
;; load-level-1
|
;; load-level-1
|
||||||
;; load-level-2
|
;; load-level-2
|
||||||
load-level-3
|
load-level-3
|
||||||
|
|
93
modules/game/levels/tutorial-8.tmx
Normal file
93
modules/game/levels/tutorial-8.tmx
Normal file
|
@ -0,0 +1,93 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map version="1.8" tiledversion="1.8.6" orientation="orthogonal" renderorder="right-down" width="20" height="15" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="47">
|
||||||
|
<tileset firstgid="1" source="tiles.tsx"/>
|
||||||
|
<layer id="1" name="background" width="20" height="15">
|
||||||
|
<data encoding="csv">
|
||||||
|
209,171,111,130,150,130,191,210,110,189,209,209,149,149,209,209,190,211,190,131,
|
||||||
|
171,210,131,109,131,111,131,170,111,90,111,209,149,171,90,171,170,110,129,129,
|
||||||
|
111,190,130,190,131,170,169,151,89,90,111,171,191,189,110,170,109,131,209,169,
|
||||||
|
83,82,83,83,82,82,83,83,84,90,81,82,83,83,82,83,82,83,83,82,
|
||||||
|
24,24,31,24,24,24,24,28,106,169,105,24,3,3,3,24,24,31,24,24,
|
||||||
|
24,24,31,24,24,24,3,24,106,171,105,62,24,24,24,24,24,31,24,24,
|
||||||
|
24,24,24,24,24,24,24,62,106,111,105,62,24,24,24,24,24,31,24,24,
|
||||||
|
24,24,31,24,24,24,24,62,86,109,85,62,24,24,24,24,24,31,24,24,
|
||||||
|
102,103,102,103,88,24,24,62,106,189,85,62,24,24,87,103,102,102,102,103,
|
||||||
|
210,169,190,149,105,24,24,62,107,83,108,62,24,24,106,189,149,170,209,190,
|
||||||
|
130,190,109,149,105,24,24,62,24,31,24,62,24,24,106,130,211,171,149,210,
|
||||||
|
189,149,131,189,105,24,24,62,24,31,24,62,24,24,106,89,191,109,210,130,
|
||||||
|
189,130,189,169,105,24,24,64,61,61,61,63,24,24,106,169,131,211,210,151,
|
||||||
|
90,170,89,170,85,24,24,24,24,31,24,24,24,24,86,170,129,111,89,170,
|
||||||
|
90,109,169,169,101,102,102,103,103,102,102,102,103,103,104,191,170,150,91,171
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="objects">
|
||||||
|
<object id="1" type="player-spawn" gid="1" x="192" y="112" width="16" height="16"/>
|
||||||
|
<object id="7" type="gem" gid="29" x="288" y="96" width="16" height="16"/>
|
||||||
|
<object id="28" type="electric-switch" gid="8" x="80" y="128" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="target-x" type="int" value="2"/>
|
||||||
|
<property name="target-y" type="int" value="6"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="30" type="gate" gid="46" x="32" y="96" width="16" height="16"/>
|
||||||
|
<object id="31" type="block" gid="30" x="288" y="80" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="32" type="block" gid="4" x="96" y="192" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="copper"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="33" type="block" gid="30" x="288" y="64" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="34" type="block" gid="30" x="288" y="112" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="35" type="block" gid="30" x="96" y="112" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="38" type="gate" gid="46" x="144" y="192" width="16" height="16"/>
|
||||||
|
<object id="39" type="electric-switch" gid="8" x="64" y="80" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="target-x" type="int" value="9"/>
|
||||||
|
<property name="target-y" type="int" value="12"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="41" type="block" gid="30" x="96" y="96" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="42" type="electron-warp" gid="72" x="112" y="80" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="target-x" type="int" value="11"/>
|
||||||
|
<property name="target-y" type="int" value="4"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="43" type="electron-warp" gid="72" x="176" y="64" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="target-x" type="int" value="7"/>
|
||||||
|
<property name="target-y" type="int" value="5"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="45" type="clock-emitter" gid="49" x="240" y="64" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="interval" type="int" value="4"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="46" type="block" gid="4" x="80" y="80" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="copper"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
Loading…
Add table
Reference in a new issue