throw
This commit is contained in:
BIN
desktop/resources/ego/thorw.png
Normal file
BIN
desktop/resources/ego/thorw.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
BIN
desktop/resources/ego/throw.png
Normal file
BIN
desktop/resources/ego/throw.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
desktop/resources/ego/throw.pxa/0.pxi
Normal file
BIN
desktop/resources/ego/throw.pxa/0.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/throw.pxa/1.pxi
Normal file
BIN
desktop/resources/ego/throw.pxa/1.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/throw.pxa/2.pxi
Normal file
BIN
desktop/resources/ego/throw.pxa/2.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/throw.pxa/3.pxi
Normal file
BIN
desktop/resources/ego/throw.pxa/3.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/throw.pxa/4.pxi
Normal file
BIN
desktop/resources/ego/throw.pxa/4.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/throw.pxa/5.pxi
Normal file
BIN
desktop/resources/ego/throw.pxa/5.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/throw.pxa/6.pxi
Normal file
BIN
desktop/resources/ego/throw.pxa/6.pxi
Normal file
Binary file not shown.
34
desktop/resources/ego/throw.pxa/CelData.plist
Normal file
34
desktop/resources/ego/throw.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>
|
||||||
@@ -1 +1 @@
|
|||||||
{:sound-volume 56.0, :music-volume 56.0}
|
{:sound-volume 56.0, :music-volume 0.0}
|
||||||
@@ -351,6 +351,7 @@
|
|||||||
(leave-sheep entities))
|
(leave-sheep entities))
|
||||||
(do
|
(do
|
||||||
(actions/talk entities :ego "Come here mama sheep!")
|
(actions/talk entities :ego "Come here mama sheep!")
|
||||||
|
(actions/play-animation entities :ego :throw)
|
||||||
(actions/play-animation entities :ego :sigh)
|
(actions/play-animation entities :ego :sigh)
|
||||||
|
|
||||||
(actions/talk entities :ego "She's too far away for me to pet her.")))))
|
(actions/talk entities :ego "She's too far away for me to pet her.")))))
|
||||||
|
|||||||
@@ -199,6 +199,7 @@
|
|||||||
sigh (utils/make-anim "ego/sigh.png" [18 36] 0.08 [0 0 0 0 1 1 1 2 3 4 5 6 7 8 8 8 8 8 8 8 8 8 0 0 0 0 ])
|
sigh (utils/make-anim "ego/sigh.png" [18 36] 0.08 [0 0 0 0 1 1 1 2 3 4 5 6 7 8 8 8 8 8 8 8 8 8 0 0 0 0 ])
|
||||||
glad (utils/make-anim "ego/glad.png" [20 46] 0.04 (flatten [0 1 2 3 4 (repeat 8 [5 5 5]) (repeat 20 0)]))
|
glad (utils/make-anim "ego/glad.png" [20 46] 0.04 (flatten [0 1 2 3 4 (repeat 8 [5 5 5]) (repeat 20 0)]))
|
||||||
milk (utils/make-anim "ego/squat.png" [18 36] 0.05 [0 1 2 2 3 3 3 3 3 3 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 3 3 3 3 3 3 3 3 3 3 3 2 1 0])
|
milk (utils/make-anim "ego/squat.png" [18 36] 0.05 [0 1 2 2 3 3 3 3 3 3 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 6 5 3 3 3 3 3 3 3 3 3 3 3 2 1 0])
|
||||||
|
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)]))
|
||||||
|
|
||||||
ego {:right {:walk walk-right
|
ego {:right {:walk walk-right
|
||||||
:stand stand-anim
|
:stand stand-anim
|
||||||
@@ -235,7 +236,8 @@
|
|||||||
:scared-walk scared-walk
|
:scared-walk scared-walk
|
||||||
:sigh sigh
|
:sigh sigh
|
||||||
:glad glad
|
:glad glad
|
||||||
:milk milk}
|
:milk milk
|
||||||
|
:throw throw}
|
||||||
:left {:walk (utils/flip walk-right)
|
:left {:walk (utils/flip walk-right)
|
||||||
:stand (utils/flip stand-anim)
|
:stand (utils/flip stand-anim)
|
||||||
:talk (utils/flip talk-anim)
|
:talk (utils/flip talk-anim)
|
||||||
@@ -262,7 +264,8 @@
|
|||||||
:pant (utils/flip pant)
|
:pant (utils/flip pant)
|
||||||
:sigh (utils/flip sigh)
|
:sigh (utils/flip sigh)
|
||||||
:glad (utils/flip glad)
|
:glad (utils/flip glad)
|
||||||
:milk (utils/flip milk)}
|
:milk (utils/flip milk)
|
||||||
|
:throw (utils/flip throw)}
|
||||||
:baseline (- 240 (last start-pos))
|
:baseline (- 240 (last start-pos))
|
||||||
:facing :right
|
:facing :right
|
||||||
:origin-x 9
|
:origin-x 9
|
||||||
|
|||||||
Reference in New Issue
Block a user