Merge branch 'master' of https://bitbucket.org/brycecovertoperations/advent
This commit is contained in:
@@ -15,10 +15,10 @@
|
||||
[advent.utils :as utils]
|
||||
[advent.tween :as tween]
|
||||
[advent.screens.rooms :as rooms]
|
||||
[advent.screens.rooms.common :as common]
|
||||
[advent.screens.items :as items]
|
||||
[advent.screens.rooms.dream :as rooms.dream]
|
||||
[advent.screens.rooms.castle-gate :as rooms.castle-gate]
|
||||
[advent.screens.rooms.common :as common]
|
||||
[advent.screens.rooms.outside-house :as rooms.outside-house]
|
||||
[advent.screens.rooms.inside-house :as rooms.inside-house]
|
||||
[advent.screens.rooms.inside-stash :as rooms.inside-stash]
|
||||
@@ -161,7 +161,9 @@
|
||||
(texture (aget talk-sheet 0 i))))
|
||||
start-squat (animation 0.05 (for [i [0 1 2 3 4]]
|
||||
(texture (aget squat-sheet 0 i))))
|
||||
end-squat (animation 0.05 (for [i [4 3 2 1 0]]
|
||||
start-squat-2 (animation 0.05 (for [i [0 1 2 3]]
|
||||
(texture (aget squat-sheet 0 i))))
|
||||
end-squat (animation 0.05 (for [i [3 2 1 0]]
|
||||
(texture (aget squat-sheet 0 i))))
|
||||
squat-anim (animation 0.05 (for [i [0 1 2 3 3 3 3 3 3 3 3 3 3 3 3 2 1] ]
|
||||
(texture (aget squat-sheet 0 i))))
|
||||
@@ -215,6 +217,7 @@
|
||||
:talk talk-anim
|
||||
:squat squat-anim
|
||||
:start-squat start-squat
|
||||
:start-squat-2 start-squat-2
|
||||
:end-squat end-squat
|
||||
:reach reach-anim
|
||||
:cat-toy cat-toy-anim
|
||||
@@ -257,6 +260,7 @@
|
||||
:stand (utils/flip stand-anim)
|
||||
:talk (utils/flip talk-anim)
|
||||
:start-squat (utils/flip start-squat)
|
||||
:start-squat-2 (utils/flip start-squat-2)
|
||||
:end-squat (utils/flip end-squat)
|
||||
:squat (utils/flip squat-anim)
|
||||
:reach (utils/flip reach-anim)
|
||||
@@ -340,7 +344,6 @@
|
||||
:camera (actions/get-script entities (actions/talk entities :ego "It's some sort of magical device that captures images."))
|
||||
:alarm-clock (actions/get-script entities (actions/talk entities :ego "It's a magic device that tells the time."))
|
||||
:walkie-talkies (actions/get-script entities (actions/do-dialogue entities :ego "If I talk in one of these devices, I can hear it in the other one!"))
|
||||
:walkie-talkie (actions/get-script entities (common/listen-to-frankie entities))
|
||||
nil))
|
||||
:x (first start-pos) :y (last start-pos)
|
||||
:id "ego"}
|
||||
@@ -694,7 +697,7 @@
|
||||
|
||||
all-entities (concat (vals entities) layers (vals (get-in entities [:room :entities])))]
|
||||
(screen! talking-screen :on-update-camera :scene-viewport (:viewport screen) :scene-camera (:camera screen))
|
||||
(when (not (get-in entities [:cam :paused?]))
|
||||
(when true #_(not (get-in entities [:cam :paused?]))
|
||||
(set! (. camera zoom) (:zoom (:cam entities)))
|
||||
(set! (.. camera position x) (:x (:cam entities) 160.0))
|
||||
(set! (.. camera position y) (:y (:cam entities) 120.0)))
|
||||
|
||||
Reference in New Issue
Block a user