Add catboss-1 level
This commit is contained in:
parent
0849e5c85a
commit
534e9c30b7
3 changed files with 60 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -45,6 +45,7 @@ levels = \
|
|||
modules/game/levels/level-2.scm \
|
||||
modules/game/levels/level-3.scm \
|
||||
modules/game/levels/level-4.scm \
|
||||
modules/game/levels/catboss-1.scm \
|
||||
modules/game/levels/credits.scm
|
||||
|
||||
game.wasm: game.scm $(modules) $(levels)
|
||||
|
|
2
game.scm
2
game.scm
|
@ -47,6 +47,7 @@
|
|||
(game levels level-2)
|
||||
(game levels level-3)
|
||||
(game levels level-4)
|
||||
(game levels catboss-1)
|
||||
(game levels credits)
|
||||
(game scripts)
|
||||
(game tileset)
|
||||
|
@ -122,6 +123,7 @@
|
|||
;; load-level-2
|
||||
;; load-level-3
|
||||
;; load-level-4
|
||||
load-catboss-1
|
||||
))
|
||||
(define *level-idx* #f)
|
||||
(define *gems* #f)
|
||||
|
|
57
modules/game/levels/catboss-1.tmx
Normal file
57
modules/game/levels/catboss-1.tmx
Normal file
|
@ -0,0 +1,57 @@
|
|||
<?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="4" nextobjectid="84">
|
||||
<tileset firstgid="1" source="tiles.tsx"/>
|
||||
<layer id="1" name="background" width="20" height="15">
|
||||
<data encoding="csv">
|
||||
24,24,24,24,24,24,24,24,24,24,31,31,31,24,24,24,24,24,24,24,
|
||||
24,24,24,24,24,24,24,24,24,24,31,28,31,24,24,24,24,24,24,24,
|
||||
24,24,24,24,24,24,24,31,31,31,31,24,31,31,31,31,31,31,31,24,
|
||||
24,24,24,24,24,24,24,31,24,24,24,24,24,24,24,24,24,24,31,24,
|
||||
24,24,24,24,24,24,24,31,24,24,24,24,24,24,24,24,24,24,31,31,
|
||||
24,24,24,24,24,24,24,31,24,24,24,24,3,3,3,3,3,24,24,31,
|
||||
31,31,31,31,24,24,24,31,24,24,24,3,24,24,24,24,24,3,24,3,
|
||||
24,24,24,31,24,24,24,31,24,24,24,3,31,3,3,24,31,24,24,24,
|
||||
31,31,31,31,24,24,24,31,24,24,24,24,3,24,3,3,24,24,24,31,
|
||||
24,24,24,31,24,24,24,31,31,31,24,24,24,3,3,24,24,24,24,24,
|
||||
24,31,24,31,24,24,24,24,24,31,24,24,24,24,24,24,31,24,24,24,
|
||||
24,31,24,31,24,24,24,24,24,31,31,31,24,24,24,24,31,24,24,24,
|
||||
24,24,24,31,24,24,24,24,24,24,24,31,24,24,24,24,31,24,24,24,
|
||||
31,31,31,31,24,24,24,24,24,24,24,31,31,31,31,31,31,31,31,31,
|
||||
24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="2" name="objects">
|
||||
<object id="1" type="player-spawn" gid="1" x="176" y="128" width="16" height="16"/>
|
||||
<object id="78" type="gate" gid="46" x="176" y="32" width="16" height="16"/>
|
||||
<object id="26" type="bomb" gid="51" x="16" y="144" width="16" height="16"/>
|
||||
<object id="27" type="floor-switch" gid="25" x="32" y="176" width="16" height="16">
|
||||
<properties>
|
||||
<property name="target-x" type="int" value="10"/>
|
||||
<property name="target-y" type="int" value="5"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="30" type="gem" gid="29" x="32" y="112" width="16" height="16"/>
|
||||
<object id="34" type="brick" gid="23" x="16" y="112" width="16" height="16"/>
|
||||
<object id="45" type="block" gid="4" x="272" y="176" width="16" height="16">
|
||||
<properties>
|
||||
<property name="kind" value="copper"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="83" type="block" gid="4" x="288" y="176" width="16" height="16">
|
||||
<properties>
|
||||
<property name="kind" value="copper"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="72" type="electric-switch" gid="7" x="256" y="64" width="16" height="16">
|
||||
<properties>
|
||||
<property name="target-x" type="int" value="11"/>
|
||||
<property name="target-y" type="int" value="2"/>
|
||||
</properties>
|
||||
</object>
|
||||
<object id="73" type="switched-emitter" gid="48" x="160" y="80" width="16" height="16">
|
||||
<properties>
|
||||
<property name="interval" type="int" value="4"/>
|
||||
</properties>
|
||||
</object>
|
||||
</objectgroup>
|
||||
</map>
|
Loading…
Add table
Reference in a new issue