added better motion.
This commit is contained in:
BIN
desktop/resources/ego/hold-up-to-window.png
Normal file
BIN
desktop/resources/ego/hold-up-to-window.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
BIN
desktop/resources/ego/hold-up-to-window.pxa/0.pxi
Normal file
BIN
desktop/resources/ego/hold-up-to-window.pxa/0.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/hold-up-to-window.pxa/1.pxi
Normal file
BIN
desktop/resources/ego/hold-up-to-window.pxa/1.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/hold-up-to-window.pxa/2.pxi
Normal file
BIN
desktop/resources/ego/hold-up-to-window.pxa/2.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/hold-up-to-window.pxa/3.pxi
Normal file
BIN
desktop/resources/ego/hold-up-to-window.pxa/3.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/hold-up-to-window.pxa/4.pxi
Normal file
BIN
desktop/resources/ego/hold-up-to-window.pxa/4.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/ego/hold-up-to-window.pxa/5.pxi
Normal file
BIN
desktop/resources/ego/hold-up-to-window.pxa/5.pxi
Normal file
Binary file not shown.
30
desktop/resources/ego/hold-up-to-window.pxa/CelData.plist
Normal file
30
desktop/resources/ego/hold-up-to-window.pxa/CelData.plist
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?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>
|
||||||
|
</array>
|
||||||
|
</plist>
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
(actions/talk entities :ego "It's a nice, big window."))
|
(actions/talk entities :ego "It's a nice, big window."))
|
||||||
:scripts {:portrait (actions/get-script entities
|
:scripts {:portrait (actions/get-script entities
|
||||||
(actions/walk-to entities :ego [151 60] :face :right)
|
(actions/walk-to entities :ego [151 60] :face :right)
|
||||||
(actions/play-animation entities :ego :reach)
|
(actions/play-animation entities :ego :hold-up-to-window)
|
||||||
(actions/talk entities :ego "The portrait says 'Herb' on the back.")
|
(actions/talk entities :ego "The portrait says 'Herb' on the back.")
|
||||||
(actions/update-state entities (fn [state] (update-in state [:clues] #(conj % :name)) )))}}}
|
(actions/update-state entities (fn [state] (update-in state [:clues] #(conj % :name)) )))}}}
|
||||||
:layers [(assoc (texture "inside-antique/background.png") :x 0 :y 0 :baseline 0)]
|
:layers [(assoc (texture "inside-antique/background.png") :x 0 :y 0 :baseline 0)]
|
||||||
|
|||||||
@@ -116,6 +116,7 @@
|
|||||||
(texture (aget fire-sheet 0 i))))
|
(texture (aget fire-sheet 0 i))))
|
||||||
grow (animation 0.1 (for [i [0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 3 0 0 0 0 3 0 0 0 3 3 0 0 0 2 2 0 0 2 0 0 2 0 2 0 2 0 2 0 2 0 2 3 2 3 2 3 2 3 2 4 3 4 3 4 3 4]]
|
grow (animation 0.1 (for [i [0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 3 0 0 0 0 3 0 0 0 3 3 0 0 0 2 2 0 0 2 0 0 2 0 2 0 2 0 2 0 2 0 2 3 2 3 2 3 2 3 2 4 3 4 3 4 3 4]]
|
||||||
(texture (aget grow-sheet 0 i))))
|
(texture (aget grow-sheet 0 i))))
|
||||||
|
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 4 4 4 4 3 3 4 4 3 3 4 4 5 4 5 5 5 5 5 5 5 5 5 5 4 4 3 3 3 3 3 3 3 2 1 0 0 0 0 0 0])
|
||||||
ego {:right {:walk walk-right
|
ego {:right {:walk walk-right
|
||||||
:stand stand-anim
|
:stand stand-anim
|
||||||
:talk talk-anim
|
:talk talk-anim
|
||||||
@@ -125,6 +126,7 @@
|
|||||||
:reach reach-anim
|
:reach reach-anim
|
||||||
:cat-toy cat-toy-anim
|
:cat-toy cat-toy-anim
|
||||||
:grow grow
|
:grow grow
|
||||||
|
:hold-up-to-window hold-up-to-window
|
||||||
[:fire 1] fire-1-anim
|
[:fire 1] fire-1-anim
|
||||||
[:fire 2] fire-2-anim
|
[:fire 2] fire-2-anim
|
||||||
[:fire 3] fire-3-anim}
|
[:fire 3] fire-3-anim}
|
||||||
@@ -137,6 +139,7 @@
|
|||||||
:reach (utils/flip reach-anim)
|
:reach (utils/flip reach-anim)
|
||||||
:cat-toy (utils/flip cat-toy-anim)
|
:cat-toy (utils/flip cat-toy-anim)
|
||||||
:grow (utils/flip grow)
|
:grow (utils/flip grow)
|
||||||
|
:hold-up-to-window (utils/flip hold-up-to-window)
|
||||||
[:fire 1] (utils/flip fire-1-anim)
|
[:fire 1] (utils/flip fire-1-anim)
|
||||||
[:fire 2] (utils/flip fire-2-anim)
|
[:fire 2] (utils/flip fire-2-anim)
|
||||||
[:fire 3] (utils/flip fire-3-anim)}
|
[:fire 3] (utils/flip fire-3-anim)}
|
||||||
|
|||||||
Reference in New Issue
Block a user