tweask.
This commit is contained in:
@@ -1 +1 @@
|
||||
{:sound-volume 44.0, :music-volume 70.0}
|
||||
{:sound-volume 44.0, :music-volume 0.0}
|
||||
@@ -335,7 +335,7 @@
|
||||
(do-stop entities :ego :face face))))
|
||||
|
||||
(defn get-text-duration [text]
|
||||
(* (count (s/split text #" ")) 0.5))
|
||||
(max 1.5 (* (count (s/split text #" ")) 0.5)))
|
||||
|
||||
(defn talk [entities target-id text & {:keys [stop? animate? anim]}]
|
||||
(let [initial-time (atom nil)
|
||||
|
||||
@@ -328,6 +328,7 @@
|
||||
(actions/remove-item entities :dream-sword)
|
||||
(actions/remove-item entities :broom)
|
||||
(actions/remove-item entities :shovel)
|
||||
(actions/resume-camera entities)
|
||||
(actions/transition-background entities :inside-castle [79 145] :time 5.0)
|
||||
(actions/walk-to entities :ego [159 74])
|
||||
(actions/do-dialogue entities
|
||||
|
||||
@@ -367,6 +367,7 @@
|
||||
:anim-merges {(get-in ego [:right :shock]) {:origin-x 15}
|
||||
(get-in ego [:left :swing-shovel]) {:origin-x 26}
|
||||
(get-in ego [:right :swing-shovel]) {:origin-x 26}
|
||||
(get-in ego [:left :love]) {:origin-x 36}
|
||||
:default {:origin-x 9}})]
|
||||
(actions/start-animation screen
|
||||
(merge (animation->texture screen (:stand (:right ego))) ego)
|
||||
|
||||
Reference in New Issue
Block a user