climbing.
BIN
desktop/asset-work/ego/climb.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
desktop/asset-work/ego/climb.pxa/0.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/1.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/10.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/2.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/3.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/4.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/5.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/6.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/7.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/8.pxi
Normal file
BIN
desktop/asset-work/ego/climb.pxa/9.pxi
Normal file
50
desktop/asset-work/ego/climb.pxa/CelData.plist
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<array>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>duration</key>
|
||||
<real>1</real>
|
||||
</dict>
|
||||
</array>
|
||||
</plist>
|
||||
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 254 KiB After Width: | Height: | Size: 259 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 127 KiB |
@@ -222,7 +222,13 @@
|
||||
:ego "Thanks, I guess."))
|
||||
(defn make-ladder-area [box]
|
||||
{:box box
|
||||
:script (actions/get-script entities (actions/talk entities :ego "It's a really big tree!"))
|
||||
:script (actions/get-script entities
|
||||
(actions/walk-to entities :ego [144 58] )
|
||||
(actions/talk entities :ego "Maybe I can climb it!")
|
||||
(actions/walk-straight-to entities :ego [144 72] :face :right)
|
||||
(actions/play-animation entities :ego :climb)
|
||||
(actions/walk-straight-to entities :ego [144 58])
|
||||
(actions/talk entities :ego "Nope."))
|
||||
:scripts {:ladder (actions/get-script entities
|
||||
(actions/talk entities :ego "I'll just set this up.")
|
||||
(actions/walk-to entities :ego [151 50] :face :left)
|
||||
|
||||
@@ -518,6 +518,7 @@ void main ()
|
||||
hold-up-to-window (utils/make-anim "ego/hold-up-to-window.png" [18 36] 0.1 [0 1 2 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 2 1 0 0 0 0 0 0])
|
||||
jump (utils/make-anim "ego/swing.png" [36 75] 0.2 (flatten [[1 2]]))
|
||||
jump-straight (utils/make-anim "ego/jump-straight.png" [18 48] 0.075 [0 1 1 1 1 1 1 2 3])
|
||||
climb (utils/make-anim "ego/climb.png" [22 46] 0.3 [0 1 3 2 4 3 2 4 3 5 6 5 6 5 6 5 6 5 6 7 8 7 8 9 10 9 10 10 10 10 10 8 8 6 6 1 0])
|
||||
jumping-straight (utils/make-anim "ego/jump-straight.png" [18 48] 0.075 (repeat 30 4))
|
||||
swing (utils/make-anim "ego/swing.png" [36 75] 0.145 (flatten [[3 4 5 6 7 ]]))
|
||||
grow-talk (utils/make-anim "ego/grow-talk.png" [18 36] 0.2 (range 2))
|
||||
@@ -613,6 +614,7 @@ void main ()
|
||||
:frustrated-talk frustrated-talk
|
||||
:hand-hold hand-hold
|
||||
:shy shy
|
||||
:climb climb
|
||||
}
|
||||
:left {:walk (utils/flip walk-right)
|
||||
:stand (utils/flip stand-anim)
|
||||
@@ -661,6 +663,7 @@ void main ()
|
||||
:frustrated-talk (utils/flip frustrated-talk)
|
||||
:hand-hold (utils/flip hand-hold)
|
||||
:shy (utils/flip shy)
|
||||
:climb (utils/flip climb)
|
||||
}
|
||||
:baseline (- 240 (last start-pos))
|
||||
:facing :right
|
||||
@@ -762,6 +765,8 @@ void main ()
|
||||
(get-in ego [:right :swing-shovel]) {:origin-x 26}
|
||||
(get-in ego [:left :glad]) {:origin-x 11}
|
||||
(get-in ego [:right :glad]) {:origin-x 11}
|
||||
(get-in ego [:left :climb]) {:origin-x 11}
|
||||
(get-in ego [:right :climb]) {:origin-x 11}
|
||||
(get-in ego [:right :standup]) {:origin-x 32}
|
||||
(get-in ego [:right :crawl]) {:origin-x 32}
|
||||
(get-in ego [:right :crawl-hide]) {:origin-x 32}
|
||||
|
||||