fixed issue with no hot spot and fixed issue with hard-to-find crowbar.

This commit is contained in:
Bryce Covert
2016-05-22 18:00:42 -07:00
parent a953840af0
commit c8e9926816
11 changed files with 165 additions and 137 deletions

View File

@@ -226,7 +226,8 @@
warden-sleep (animation 0.25 (for [i (flatten [ 3 4 3 4 3 4 3 4 3 4 5 5 2 2 2 2 2 2])]
(aget warden-sheet 0 i)))
candle (utils/make-anim "inside-jail/candle.png" [20 25] 0.1 (range 4))
candle-aura (utils/make-anim "inside-house/candle-aura.png" [27 27] 0.2 [0 1 2 3 2 1])]
candle-aura (utils/make-anim "inside-house/candle-aura.png" [27 27] 0.2 [0 1 2 3 2 1])
crowbar (utils/make-anim "inside-jail/crowbar.png" [16 33] 0.15 (flatten [(repeat 120 0) [1 2 3 3 2 1]]))]
(rooms/make :music :inside-antique
:name "In jail"
:sounds {
@@ -427,8 +428,11 @@
:candle-smoke (doto (assoc (particle-effect "particles/candle") :x 215 :y 130
:baseline 200)
(particle-effect! :set-position 215 130))
:crowbar (assoc (utils/get-texture "inside-jail/crowbar.png")
:x 304 :y 65 :baseline 175
:crowbar (assoc (animation->texture screen crowbar)
:anim crowbar
:anim-start 0
:x 300 :y 60 :baseline 175
:night-profile :none
:script (actions/get-script entities
(if (get-in @entities [:state :opened-bars?])

View File

@@ -481,6 +481,8 @@
(actions/do-dialogue entities
:ego "It's a little late for a last meal."
:ego "Plus, these are just legs. This frog doesn't even have a mouth."))}
:script (actions/get-script entities
(actions/talk entities :ego "Those flies seem to be attracted to Angus' stench."))
)}
:note (rooms/make-entity :note (assoc (utils/get-texture "outside-castle/note.png")
:x 198 :y 66 :baseline 174