A somewhat insidious level
This commit is contained in:
parent
a125a1475d
commit
d1e5402db7
3 changed files with 110 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -46,6 +46,7 @@ levels = \
|
||||||
modules/game/levels/level-3.scm \
|
modules/game/levels/level-3.scm \
|
||||||
modules/game/levels/level-4.scm \
|
modules/game/levels/level-4.scm \
|
||||||
modules/game/levels/catboss-1.scm \
|
modules/game/levels/catboss-1.scm \
|
||||||
|
modules/game/levels/catboss-2.scm \
|
||||||
modules/game/levels/credits.scm
|
modules/game/levels/credits.scm
|
||||||
|
|
||||||
game.wasm: game.scm $(modules) $(levels)
|
game.wasm: game.scm $(modules) $(levels)
|
||||||
|
|
2
game.scm
2
game.scm
|
@ -48,6 +48,7 @@
|
||||||
(game levels level-3)
|
(game levels level-3)
|
||||||
(game levels level-4)
|
(game levels level-4)
|
||||||
(game levels catboss-1)
|
(game levels catboss-1)
|
||||||
|
(game levels catboss-2)
|
||||||
(game levels credits)
|
(game levels credits)
|
||||||
(game scripts)
|
(game scripts)
|
||||||
(game tileset)
|
(game tileset)
|
||||||
|
@ -125,6 +126,7 @@
|
||||||
;; load-level-3
|
;; load-level-3
|
||||||
;; load-level-4
|
;; load-level-4
|
||||||
load-catboss-1
|
load-catboss-1
|
||||||
|
load-catboss-2
|
||||||
))
|
))
|
||||||
(define *level-idx* #f)
|
(define *level-idx* #f)
|
||||||
(define *gems* #f)
|
(define *gems* #f)
|
||||||
|
|
107
modules/game/levels/catboss-2.tmx
Normal file
107
modules/game/levels/catboss-2.tmx
Normal file
|
@ -0,0 +1,107 @@
|
||||||
|
<?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="107">
|
||||||
|
<tileset firstgid="1" source="tiles.tsx"/>
|
||||||
|
<layer id="1" name="background" width="20" height="15">
|
||||||
|
<data encoding="csv">
|
||||||
|
210,170,209,190,211,171,189,169,130,81,82,83,84,211,149,211,131,189,191,190,
|
||||||
|
189,131,189,111,210,210,170,169,210,85,20,28,106,130,109,130,170,131,169,151,
|
||||||
|
151,81,126,82,82,82,82,82,82,108,24,24,107,82,82,127,82,84,170,171,
|
||||||
|
131,105,24,17,24,24,24,31,24,24,24,62,24,24,24,18,24,106,210,112,
|
||||||
|
170,105,24,24,24,24,24,31,24,24,24,62,24,24,24,24,24,106,130,151,
|
||||||
|
129,101,103,88,24,24,24,24,24,24,16,64,61,61,61,61,66,106,190,131,
|
||||||
|
210,150,129,105,24,24,24,24,24,24,24,24,3,3,3,3,24,86,129,171,
|
||||||
|
131,92,150,105,24,3,3,3,3,24,24,24,31,31,19,24,31,106,211,129,
|
||||||
|
191,151,171,105,24,24,24,24,24,24,24,24,24,24,24,24,24,107,84,129,
|
||||||
|
191,191,150,105,24,24,24,24,24,24,24,24,31,24,24,24,24,24,86,91,
|
||||||
|
211,110,170,105,24,24,24,24,24,24,24,24,31,24,24,24,24,24,106,211,
|
||||||
|
189,191,130,101,88,31,31,31,24,24,24,24,24,24,31,24,24,87,104,169,
|
||||||
|
149,129,169,169,105,15,24,24,24,24,24,24,24,24,24,24,24,106,90,171,
|
||||||
|
149,190,129,210,105,24,24,24,87,103,103,103,103,102,103,103,103,104,149,149,
|
||||||
|
89,189,129,150,101,103,102,103,104,169,190,211,129,111,209,149,149,129,170,190
|
||||||
|
</data>
|
||||||
|
</layer>
|
||||||
|
<objectgroup id="2" name="objects">
|
||||||
|
<object id="1" type="player-spawn" gid="1" x="176" y="160" width="16" height="16"/>
|
||||||
|
<object id="26" type="bomb" gid="51" x="160" y="32" width="16" height="16"/>
|
||||||
|
<object id="88" type="bomb" gid="51" x="128" y="176" width="16" height="16"/>
|
||||||
|
<object id="30" type="gem" gid="29" x="80" y="208" width="16" height="16"/>
|
||||||
|
<object id="106" type="brick" gid="23" x="128" y="192" width="16" height="16"/>
|
||||||
|
<object id="45" type="block" gid="4" x="224" y="160" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="copper"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="100" type="block" gid="4" x="64" y="80" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="copper"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="84" type="electron-warp" gid="72" x="176" y="32" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="target-x" type="int" value="16"/>
|
||||||
|
<property name="target-y" type="int" value="6"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="87" type="electron-warp" gid="72" x="256" y="96" 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="90" type="clock-emitter" gid="49" x="64" y="112" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="interval" type="int" value="5"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="93" type="block" gid="30" x="208" y="176" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="94" type="block" gid="30" x="224" y="128" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="103" type="block" gid="30" x="64" y="48" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="105" type="block" gid="30" x="80" y="80" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="104" type="block" gid="30" x="80" y="64" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="95" type="block" gid="30" x="192" y="128" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="92" type="block" gid="30" x="256" y="144" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="96" type="block" gid="30" x="256" y="192" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="99" type="block" gid="30" x="240" y="176" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
<object id="98" type="block" gid="30" x="192" y="192" width="16" height="16">
|
||||||
|
<properties>
|
||||||
|
<property name="kind" value="crate"/>
|
||||||
|
</properties>
|
||||||
|
</object>
|
||||||
|
</objectgroup>
|
||||||
|
</map>
|
Loading…
Add table
Reference in a new issue