summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-03-11 20:26:14 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2021-03-11 20:26:14 -0500
commit52eb82ca4331242bfb9d7acd5a7b58f6ecab0e18 (patch)
tree2bf7a1535e5472543ab7b0a4128567d36453e395 /res
parent4a4879dd83455ae2a5e365ed217dcce9247d3be8 (diff)
downloadtanetane-52eb82ca4331242bfb9d7acd5a7b58f6ecab0e18.tar.gz
tanetane-52eb82ca4331242bfb9d7acd5a7b58f6ecab0e18.tar.bz2
tanetane-52eb82ca4331242bfb9d7acd5a7b58f6ecab0e18.zip
Added start points for finale scene
#20
Diffstat (limited to 'res')
-rw-r--r--res/maps/finale.tmx11
-rw-r--r--res/scripts/finale.lua16
-rw-r--r--res/sprites/boney_anim.txt3
3 files changed, 28 insertions, 2 deletions
diff --git a/res/maps/finale.tmx b/res/maps/finale.tmx index e7da170..5c48c97 100644 --- a/res/maps/finale.tmx +++ b/res/maps/finale.tmx
@@ -1,5 +1,5 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="32" height="16" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="3"> 2<map version="1.4" tiledversion="1.4.3" orientation="orthogonal" renderorder="right-down" width="32" height="16" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="6">
3 <tileset firstgid="1" source="forest.tsx"/> 3 <tileset firstgid="1" source="forest.tsx"/>
4 <layer id="2" name="Lower" width="32" height="16"> 4 <layer id="2" name="Lower" width="32" height="16">
5 <data encoding="csv"> 5 <data encoding="csv">
@@ -25,6 +25,15 @@
25 <object id="1" name="start" type="warp" x="272" y="144"> 25 <object id="1" name="start" type="warp" x="272" y="144">
26 <point/> 26 <point/>
27 </object> 27 </object>
28 <object id="3" name="kumatora_start" type="warp" x="232" y="112">
29 <point/>
30 </object>
31 <object id="4" name="duster_start" type="warp" x="312" y="112">
32 <point/>
33 </object>
34 <object id="5" name="boney_start" type="warp" x="197.84" y="144">
35 <point/>
36 </object>
28 </objectgroup> 37 </objectgroup>
29 <layer id="1" name="Upper" width="32" height="16"> 38 <layer id="1" name="Upper" width="32" height="16">
30 <properties> 39 <properties>
diff --git a/res/scripts/finale.lua b/res/scripts/finale.lua index 2d2bf71..2493473 100644 --- a/res/scripts/finale.lua +++ b/res/scripts/finale.lua
@@ -1 +1,17 @@
1finale = {} 1finale = {}
2
3function finale.init()
4 character():breakUpParty(getPlayerSprite())
5
6 MoveSpriteToWarp("kuma", "kumatora_start")
7 SetDirection("kuma", Direction.UP)
8 SetAnimation("kuma", "swim_still")
9
10 MoveSpriteToWarp("duster", "duster_start")
11 SetDirection("duster", Direction.RIGHT)
12 SetAnimation("duster", "swim_still")
13
14 MoveSpriteToWarp("boney", "boney_start")
15 SetDirection("boney", Direction.DOWN)
16 SetAnimation("boney", "asleep")
17end
diff --git a/res/sprites/boney_anim.txt b/res/sprites/boney_anim.txt index 14b0ac7..65e8dcb 100644 --- a/res/sprites/boney_anim.txt +++ b/res/sprites/boney_anim.txt
@@ -73,4 +73,5 @@ tired[up_left]: 156
73tired[up]: 157 73tired[up]: 157
74tired[up_right]: 158 74tired[up_right]: 158
75tired[right]: 159 75tired[right]: 159
76tired[down_right]: 160 \ No newline at end of file 76tired[down_right]: 160
77asleep[down]: 195 \ No newline at end of file