Add first rat level

This commit is contained in:
Juliana Sims 2024-05-24 18:36:57 -04:00
parent 17072b2321
commit 6053727ee4
No known key found for this signature in database
GPG key ID: 2A00BD4B0090029E
3 changed files with 51 additions and 0 deletions

View file

@ -34,6 +34,7 @@ levels = \
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/tutorial-8.scm \
modules/game/levels/rat-1.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 \

View file

@ -37,6 +37,7 @@
(game levels tutorial-6) (game levels tutorial-6)
(game levels tutorial-7) (game levels tutorial-7)
(game levels tutorial-8) (game levels tutorial-8)
(game levels rat-1)
(game levels level-1) (game levels level-1)
(game levels level-2) (game levels level-2)
(game levels level-3) (game levels level-3)
@ -106,6 +107,7 @@
load-tutorial-6 load-tutorial-6
load-tutorial-7 load-tutorial-7
load-tutorial-8 load-tutorial-8
load-rat-1
;; load-level-1 ;; load-level-1
;; load-level-2 ;; load-level-2
load-level-3 load-level-3

View file

@ -0,0 +1,48 @@
<?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="63">
<tileset firstgid="1" source="tiles.tsx"/>
<layer id="1" name="background" width="20" height="15">
<data encoding="csv">
24,83,82,84,81,126,108,24,86,81,83,83,125,83,83,82,82,82,82,82,
24,24,24,86,105,24,24,24,106,105,24,24,24,24,20,24,24,24,24,24,
24,24,28,106,85,24,24,24,86,85,24,24,24,24,24,24,24,24,24,24,
102,102,102,104,101,102,103,102,104,85,24,24,24,87,102,102,103,103,103,103,
81,82,82,82,83,83,83,82,84,105,17,24,19,106,150,112,110,149,169,191,
108,24,24,18,24,24,24,24,86,105,24,24,24,107,82,83,83,83,83,83,
24,18,24,24,24,24,24,18,106,85,24,20,24,24,24,24,18,24,24,24,
24,24,24,24,24,19,24,24,106,105,24,24,24,24,24,24,24,24,24,24,
24,24,20,24,24,24,24,15,106,101,103,102,103,103,103,103,102,103,88,24,
103,102,103,102,103,88,24,24,107,83,82,82,82,82,82,82,83,84,101,103,
83,128,82,84,92,85,24,24,24,24,24,24,20,24,24,24,24,107,83,83,
24,24,24,86,89,105,24,24,24,87,103,102,103,102,103,88,24,24,24,24,
24,18,24,86,150,101,88,24,87,104,191,151,130,109,189,85,24,19,24,24,
24,24,24,106,91,110,85,24,106,130,209,130,110,131,89,105,24,24,24,24,
102,102,102,104,169,189,85,24,86,150,151,149,171,151,190,101,103,103,103,103
</data>
</layer>
<objectgroup id="2" name="objects">
<object id="1" type="player-spawn" gid="1" x="16" y="208" width="16" height="16"/>
<object id="47" type="clock-emitter" gid="49" x="0" y="0" width="16" height="16">
<properties>
<property name="interval" type="int" value="1"/>
</properties>
</object>
<object id="50" type="brick" gid="23" x="0" y="16" width="16" height="16"/>
<object id="51" type="brick" gid="23" x="0" y="32" width="16" height="16"/>
<object id="52" type="bomb" gid="51" x="224" y="160" width="16" height="16"/>
<object id="57" type="brick" gid="23" x="112" y="224" width="16" height="16"/>
<object id="58" type="bomb" gid="51" x="96" y="16" width="16" height="16"/>
<object id="60" type="gem" gid="29" x="80" y="32" width="16" height="16"/>
<object id="61" type="switched-emitter" gid="48" x="128" y="208" width="16" height="16">
<properties>
<property name="interval" type="int" value="1"/>
</properties>
</object>
<object id="62" type="floor-switch" gid="25" x="112" y="176" width="16" height="16">
<properties>
<property name="target-x" type="int" value="8"/>
<property name="target-y" type="int" value="13"/>
</properties>
</object>
</objectgroup>
</map>