dialogue thing looks nice.

This commit is contained in:
Bryce Covert
2016-11-16 08:43:17 -08:00
parent 94240558cd
commit 9d12bc549c
4 changed files with 92 additions and 55 deletions

View File

@@ -30,7 +30,7 @@
entity)
(def ui-scale 1.5)
(def ui-scale 1.0)
(def mobile? (= 1.5 ui-scale))
(defn clear-stage [{:keys [^Stage renderer]}]
@@ -650,3 +650,10 @@
(defn stop-all-sounds! [entities]
(doseq [snd (get-in entities [:current-sounds :value])]
(sound! (:sound snd) :stop (:id snd))))
(defn translate-depressed [cursor depressed?]
(if depressed?
(get {:hand :hand-depressed
:talk :talk-depressed
:look :look-depressed} cursor cursor)
cursor))