camera shakes.
This commit is contained in:
@@ -25,8 +25,6 @@ AUDIO
|
|||||||
+ strength potion
|
+ strength potion
|
||||||
+ metal clanking
|
+ metal clanking
|
||||||
+ jail door sliding open
|
+ jail door sliding open
|
||||||
+ jail creak
|
|
||||||
+ pit go down
|
|
||||||
+ ladder break
|
+ ladder break
|
||||||
+ eavesdrop
|
+ eavesdrop
|
||||||
+ milking
|
+ milking
|
||||||
|
|||||||
@@ -902,13 +902,13 @@
|
|||||||
(dotimes [n length]
|
(dotimes [n length]
|
||||||
(actions/do-pan entities (get-in @entities [:cam :x])
|
(actions/do-pan entities (get-in @entities [:cam :x])
|
||||||
(+ (get-in @entities [:cam :y])
|
(+ (get-in @entities [:cam :y])
|
||||||
5)
|
3)
|
||||||
(constantly (get-in @entities [:cam :zoom]))
|
(constantly (get-in @entities [:cam :zoom]))
|
||||||
nil
|
nil
|
||||||
(* 0.01 (inc n)))
|
(* 0.01 (inc n)))
|
||||||
(actions/do-pan entities (get-in @entities [:cam :x])
|
(actions/do-pan entities (get-in @entities [:cam :x])
|
||||||
(- (get-in @entities [:cam :y])
|
(- (get-in @entities [:cam :y])
|
||||||
5)
|
3)
|
||||||
(constantly (get-in @entities [:cam :zoom]))
|
(constantly (get-in @entities [:cam :zoom]))
|
||||||
nil
|
nil
|
||||||
(* 0.01 (inc n)))))
|
(* 0.01 (inc n)))))
|
||||||
|
|||||||
@@ -96,6 +96,8 @@
|
|||||||
(actions/walk-to entities :ego [141 90] :face :right)
|
(actions/walk-to entities :ego [141 90] :face :right)
|
||||||
(actions/play-animation entities :ego :reach)
|
(actions/play-animation entities :ego :reach)
|
||||||
(actions/remove-item entities :money)
|
(actions/remove-item entities :money)
|
||||||
|
(actions/camera-shake entities 2)
|
||||||
|
(Thread/sleep 500)
|
||||||
(actions/talk entities :ego "I guess that's what you could call 'money in the pot'."))
|
(actions/talk entities :ego "I guess that's what you could call 'money in the pot'."))
|
||||||
(actions/talk entities :ego "I don't want to put something in there unless I'm sure I need to.")))
|
(actions/talk entities :ego "I don't want to put something in there unless I'm sure I need to.")))
|
||||||
:slingshot (actions/get-script entities
|
:slingshot (actions/get-script entities
|
||||||
@@ -105,7 +107,9 @@
|
|||||||
(dawn-fade entities)
|
(dawn-fade entities)
|
||||||
(actions/talk entities :ego "Here goes!")
|
(actions/talk entities :ego "Here goes!")
|
||||||
(actions/play-animation entities :ego :reach-start :stop? false)
|
(actions/play-animation entities :ego :reach-start :stop? false)
|
||||||
|
(actions/camera-shake entities 12)
|
||||||
(magic entities)
|
(magic entities)
|
||||||
|
|
||||||
(actions/play-animation entities :ego :reach-stop :stop? true)
|
(actions/play-animation entities :ego :reach-stop :stop? true)
|
||||||
|
|
||||||
(actions/remove-item entities :slingshot)
|
(actions/remove-item entities :slingshot)
|
||||||
@@ -137,6 +141,8 @@
|
|||||||
(actions/walk-to entities :ego [141 90] :face :right)
|
(actions/walk-to entities :ego [141 90] :face :right)
|
||||||
(actions/play-animation entities :ego :reach)
|
(actions/play-animation entities :ego :reach)
|
||||||
(actions/remove-item entities :broken-clock)
|
(actions/remove-item entities :broken-clock)
|
||||||
|
(actions/camera-shake entities 2)
|
||||||
|
(Thread/sleep 500)
|
||||||
(actions/talk entities :ego "Just in the nick of time."))
|
(actions/talk entities :ego "Just in the nick of time."))
|
||||||
(actions/talk entities :ego "I don't want to put something in there unless I'm sure I need to.")))
|
(actions/talk entities :ego "I don't want to put something in there unless I'm sure I need to.")))
|
||||||
:recipe (actions/get-script entities
|
:recipe (actions/get-script entities
|
||||||
@@ -149,6 +155,8 @@
|
|||||||
(actions/walk-to entities :ego [141 90] :face :right)
|
(actions/walk-to entities :ego [141 90] :face :right)
|
||||||
(actions/play-animation entities :ego :reach)
|
(actions/play-animation entities :ego :reach)
|
||||||
(actions/remove-item entities :spell-component)
|
(actions/remove-item entities :spell-component)
|
||||||
|
(actions/camera-shake entities 2)
|
||||||
|
(Thread/sleep 500)
|
||||||
(actions/talk entities :ego "I poured it in. Now what?"))
|
(actions/talk entities :ego "I poured it in. Now what?"))
|
||||||
(actions/get-script entities
|
(actions/get-script entities
|
||||||
(actions/talk entities :ego "I don't want to put something in there unless I'm sure I need to."))))
|
(actions/talk entities :ego "I don't want to put something in there unless I'm sure I need to."))))
|
||||||
|
|||||||
Reference in New Issue
Block a user