a number of cool improvements, hotspots for cursors, non-jumpy text.
This commit is contained in:
@@ -53,7 +53,8 @@
|
||||
|
||||
:on-talk
|
||||
(fn [screen entities {:keys [create-talk target-id color text x y scale scene-viewport id]}]
|
||||
(let [font (bitmap-font "ego/font.fnt" )
|
||||
(let [font (doto (bitmap-font "ego/font.fnt" )
|
||||
(bitmap-font! :set-use-integer-positions false))
|
||||
p (NinePatchEntity. (skin! (skin "ui/ui.json") :get-patch "ui-bg"))
|
||||
_ (nine-patch! p :set-padding 25 25 5 15)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user