anim for reaching
This commit is contained in:
1
desktop/pre-rob.edn
Normal file
1
desktop/pre-rob.edn
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{:active? true, :seen-intro? true, :seen-frankie? false, :knows-about-stash? true, :convinced-wizard? true, :time :night, :broke-lock? true, :opened-bars? true, :inventory (:slingshot :trophy :medal :flask-1-strength :walkie-talkie :note-2 :spear :camera :note-1 :key :crowbar :ladder :grass :kiss :sword), :wizard-left? false, :dropped-ball? true, :hay-searches 4, :clues #{}, :stop? false, :warden-sleeping? true, :current-riddle :wool, :warden-fast-asleep? true, :last-room :outside-castle, :wants-toy true, :bent-bars? true, :chest-contents [], :mints-eaten 0, :object nil, :talked-to-owl? true, :obtained-items #{:flask-2 :key :slingshot :flies :rope :kiss :spear :medal :sword :magic-slingshot :flask-flies-ash :flask-1 :flask-1-strength :flask-water-flies :walkie-talkies :ash :grass :camera :sack-lunch :ladder :walkie-talkie :trophy :broken-clock :monocle :alarm-clock :crowbar :note-1 :flask-water :note-2 :ball-n-chain :feather :spell-component}}
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
desktop/resources/castle-gate/frankie.pxa/8.pxi
Normal file
BIN
desktop/resources/castle-gate/frankie.pxa/8.pxi
Normal file
Binary file not shown.
BIN
desktop/resources/castle-gate/frankie.pxa/9.pxi
Normal file
BIN
desktop/resources/castle-gate/frankie.pxa/9.pxi
Normal file
Binary file not shown.
@@ -34,5 +34,13 @@
|
|||||||
<key>duration</key>
|
<key>duration</key>
|
||||||
<real>1</real>
|
<real>1</real>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>duration</key>
|
||||||
|
<real>1</real>
|
||||||
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>duration</key>
|
||||||
|
<real>1</real>
|
||||||
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
@@ -75,13 +75,14 @@
|
|||||||
|
|
||||||
|
|
||||||
(defn make-frankie [screen]
|
(defn make-frankie [screen]
|
||||||
(let [stand (utils/make-anim "castle-gate/frankie.png" [48 35] 0.19 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1])
|
(let [stand (utils/make-anim "castle-gate/frankie.png" [24 35] 0.19 [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1])
|
||||||
talk (utils/make-anim "castle-gate/frankie.png" [48 35] 0.2 [2 0 2 0 2 0 2 0 0 1 0])
|
talk (utils/make-anim "castle-gate/frankie.png" [24 35] 0.2 [2 0 2 0 2 0 2 0 0 1 0])
|
||||||
laugh (utils/make-anim "castle-gate/frankie.png" [48 35] 0.1 [1 3 4 3 4 3 4 3 4 3 4 3 4 1 0])
|
laugh (utils/make-anim "castle-gate/frankie.png" [24 35] 0.1 [1 3 4 3 4 3 4 3 4 3 4 3 4 1 0])
|
||||||
glance (utils/make-anim "castle-gate/frankie.png" [48 35] 0.25 [0 6 0 6 5 5 5 6 7 7 7 6 ])]
|
glance (utils/make-anim "castle-gate/frankie.png" [24 35] 0.25 [0 6 0 6 5 5 5 6 7 7 7 6 ])
|
||||||
|
reach (utils/make-anim "castle-gate/frankie.png" [24 35] 0.2 [0 8 9 9 9 9 8])]
|
||||||
(assoc (animation->texture screen stand)
|
(assoc (animation->texture screen stand)
|
||||||
:x 235 :y 90 :baseline 150
|
:x 235 :y 90 :baseline 150
|
||||||
:origin-x 24
|
:origin-x 12
|
||||||
:origin-y 0
|
:origin-y 0
|
||||||
:anim stand
|
:anim stand
|
||||||
:anim-start 0
|
:anim-start 0
|
||||||
@@ -93,6 +94,7 @@
|
|||||||
:stand stand
|
:stand stand
|
||||||
:laugh laugh
|
:laugh laugh
|
||||||
:glance glance
|
:glance glance
|
||||||
|
:reach reach
|
||||||
:script (actions/get-script entities
|
:script (actions/get-script entities
|
||||||
(walk-to-frankie entities)
|
(walk-to-frankie entities)
|
||||||
(actions/talk entities :ego "Listen, Frankie...")
|
(actions/talk entities :ego "Listen, Frankie...")
|
||||||
|
|||||||
@@ -205,13 +205,17 @@
|
|||||||
:frankie "Now.")
|
:frankie "Now.")
|
||||||
(actions/walk-straight-to entities :ego [254 80])
|
(actions/walk-straight-to entities :ego [254 80])
|
||||||
(actions/do-dialogue entities
|
(actions/do-dialogue entities
|
||||||
:frankie "Now what have we got to give us today, Dipstick?"
|
:frankie "Now what have we got to give us today, Dipstick?")
|
||||||
|
(actions/play-animation entities :frankie :reach)
|
||||||
|
(actions/do-dialogue entities
|
||||||
:frankie "A strength potion, oh very nice!"
|
:frankie "A strength potion, oh very nice!"
|
||||||
:frankie "And some gold..."
|
:frankie "And some gold..."
|
||||||
:frankie "And what's this?"
|
:frankie "And what's this?")
|
||||||
|
(actions/play-animation entities :frankie :reach)
|
||||||
|
(actions/do-dialogue entities
|
||||||
:frankie "The Slinger's Shot?"
|
:frankie "The Slinger's Shot?"
|
||||||
:ego "No, not the Slinger's Shot!"
|
:ego "No, not the Slinger's Shot!"
|
||||||
:frankie "Look like we hit the jackpot tonight boys!")
|
:frankie "Look like we hit the jackpot tonight boys!")
|
||||||
(frankie-comment-on-item entities)
|
(frankie-comment-on-item entities)
|
||||||
(actions/do-dialogue entities
|
(actions/do-dialogue entities
|
||||||
:frankie "Bubba, put this stuff in the secret stash."
|
:frankie "Bubba, put this stuff in the secret stash."
|
||||||
|
|||||||
Reference in New Issue
Block a user