first attempt at an intro screen.
This commit is contained in:
@@ -116,4 +116,12 @@
|
||||
(update-in entities [:room :interactions] (fn [i] (remove #(= id (:id %)) i))))
|
||||
|
||||
|
||||
(defn play-sound [snd]
|
||||
(music! snd :play))
|
||||
|
||||
(defn stop-sound [snd]
|
||||
(music! snd :stop))
|
||||
|
||||
(defn make-music [r]
|
||||
(doto (music r) (music! :set-looping true)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user