nightswing.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
desktop/resources/ego/axe.pxa/0.pxi
Normal file
BIN
desktop/resources/ego/axe.pxa/0.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/axe.pxa/1.pxi
Normal file
BIN
desktop/resources/ego/axe.pxa/1.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/axe.pxa/2.pxi
Normal file
BIN
desktop/resources/ego/axe.pxa/2.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/axe.pxa/3.pxi
Normal file
BIN
desktop/resources/ego/axe.pxa/3.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/axe.pxa/4.pxi
Normal file
BIN
desktop/resources/ego/axe.pxa/4.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/axe.pxa/5.pxi
Normal file
BIN
desktop/resources/ego/axe.pxa/5.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/axe.pxa/6.pxi
Normal file
BIN
desktop/resources/ego/axe.pxa/6.pxi
Normal file
Binary file not shown.
34
desktop/resources/ego/axe.pxa/CelData.plist
Normal file
34
desktop/resources/ego/axe.pxa/CelData.plist
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
<?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>
|
||||||
|
</array>
|
||||||
|
</plist>
|
||||||
@@ -137,20 +137,18 @@
|
|||||||
(actions/play-animation entities :ego :axe-wood)
|
(actions/play-animation entities :ego :axe-wood)
|
||||||
(actions/walk-straight-to entities :ego [170 71]))
|
(actions/walk-straight-to entities :ego [170 71]))
|
||||||
:scripts {:alarm-clock (actions/get-script entities
|
:scripts {:alarm-clock (actions/get-script entities
|
||||||
(actions/walk-to entities :ego [189 65] :face :right)
|
(actions/walk-to entities :ego [170 71] :face :right)
|
||||||
|
(actions/walk-straight-to entities :ego [188 71] :face :right)
|
||||||
(actions/play-animation entities :ego :reach)
|
(actions/play-animation entities :ego :reach)
|
||||||
(actions/remove-item entities :alarm-clock)
|
(actions/remove-item entities :alarm-clock)
|
||||||
(actions/add-entity entities :alarm-clock (get-in @entities [:room :alarm-clock])))
|
(actions/add-entity entities :alarm-clock (get-in @entities [:room :alarm-clock]))
|
||||||
:sword (actions/get-script entities
|
(actions/play-animation entities :ego :axe)
|
||||||
(when (get-in @entities [:room :entities :alarm-clock])
|
(actions/talk entities :ego "It's split right down the middle!")
|
||||||
(actions/walk-to entities :ego [129 65] :face :right)
|
(actions/play-animation entities :ego :reach)
|
||||||
(actions/talk entities :ego "I'll take a big swing!")
|
(actions/remove-entity entities :alarm-clock)
|
||||||
(actions/walk-straight-to entities :ego [189 65] :face :right :speed 3.5)
|
(actions/give entities :broken-clock)
|
||||||
(actions/play-animation entities :ego :swing)
|
(actions/walk-straight-to entities :ego [170 71]))
|
||||||
(actions/talk entities :ego "It's split right down the middle!")
|
:sword (actions/get-script entities (actions/talk entities :ego "I can just use the axe."))}}
|
||||||
(actions/play-animation entities :ego :reach)
|
|
||||||
(actions/remove-entity entities :alarm-clock)
|
|
||||||
(actions/give entities :broken-clock)))}}
|
|
||||||
:lever {:box [10 72 17 85]
|
:lever {:box [10 72 17 85]
|
||||||
:script (actions/get-script entities
|
:script (actions/get-script entities
|
||||||
(interact-with-lever entities))
|
(interact-with-lever entities))
|
||||||
|
|||||||
@@ -207,7 +207,7 @@
|
|||||||
throw (utils/make-anim "ego/throw.png" [18 36] 0.04 (flatten [[(repeat 5 0) (repeat 10 1)] (repeat 3 [2 2 2 3 3 3 4 4 4 5 5 5]) (repeat 5 [2 2 3 3 4 4 5 5]) (repeat 10 [2 3 4 5]) [2 3 3] (repeat 15 6)]))
|
throw (utils/make-anim "ego/throw.png" [18 36] 0.04 (flatten [[(repeat 5 0) (repeat 10 1)] (repeat 3 [2 2 2 3 3 3 4 4 4 5 5 5]) (repeat 5 [2 2 3 3 4 4 5 5]) (repeat 10 [2 3 4 5]) [2 3 3] (repeat 15 6)]))
|
||||||
swing-shovel (utils/make-anim "ego/swing-shovel.png" [70 70] 0.1 (range 9))
|
swing-shovel (utils/make-anim "ego/swing-shovel.png" [70 70] 0.1 (range 9))
|
||||||
love (utils/make-anim "ego/love.png" [50 70] 0.1 (flatten [0 0 1 1 2 2 3 3 4 4 5 5 6 6 (repeat 10 7) (repeat 5 8) (repeat 5 7) (repeat 5 8) (repeat 5 7) (repeat 10 [23 24 25 24]) (repeat 30 9) 10 11 12 13 14 15 16 17 18 19 20 21 21 21 22 22 22 21 21 21 21 21 21 21 21 22 22 22 22 22 21 21 21 21 22 22 22 22 22 22 21 21 21 21 21 6 6 5 5 4 4 3 3 2 2 1 1 0]))
|
love (utils/make-anim "ego/love.png" [50 70] 0.1 (flatten [0 0 1 1 2 2 3 3 4 4 5 5 6 6 (repeat 10 7) (repeat 5 8) (repeat 5 7) (repeat 5 8) (repeat 5 7) (repeat 10 [23 24 25 24]) (repeat 30 9) 10 11 12 13 14 15 16 17 18 19 20 21 21 21 22 22 22 21 21 21 21 21 21 21 21 22 22 22 22 22 21 21 21 21 22 22 22 22 22 22 21 21 21 21 21 6 6 5 5 4 4 3 3 2 2 1 1 0]))
|
||||||
axe (utils/make-anim "ego/axe.png" [60 70] 0.10 (range 5))
|
axe (utils/make-anim "ego/axe.png" [60 70] 0.10 (range 7))
|
||||||
axe-wood (utils/make-anim "ego/axe-wood.png" [60 70] 0.10 (range 11))
|
axe-wood (utils/make-anim "ego/axe-wood.png" [60 70] 0.10 (range 11))
|
||||||
|
|
||||||
ego {:right {:walk walk-right
|
ego {:right {:walk walk-right
|
||||||
|
|||||||
Reference in New Issue
Block a user