font positioning is better.

This commit is contained in:
=
2014-09-08 18:39:45 -07:00
parent adec643666
commit dbae4fd0f7
7 changed files with 431 additions and 122 deletions

View File

@@ -98,7 +98,7 @@
house (texture "house.png")
overdirt (texture "overdirt.png")
music (sound "town-music.mp3")
_ (sound! music :loop)
;; _ (sound! music :loop)
]
{
:cursor {:id "cursor" :cursor-index 0 }
@@ -117,8 +117,7 @@
:interactions [{:mouse-in? (zone/box 258 100 281 160)
:click-fn (fn [screen entities [x y]]
(assoc-in entities [:ego :actions] [(actions/stop :ego)
(actions/talk :ego (str "The last time I went through that door, \n"
"Fangald turned me into a frog."))]))}]
(actions/talk :ego (str "The last time I went through that door, Fangald turned me into a frog."))]))}]
:scale-fn (scaler-fn-with-baseline 110 0.10 1.00)
:layers [(assoc background :x 0 :y 0 :baseline 0)
(assoc house :x 0 :y 0 :baseline 122)