updates for android.
This commit is contained in:
@@ -178,7 +178,7 @@
|
||||
:interactions {}
|
||||
:layers [(assoc (utils/atlas->texture atlas "background") :x 0 :y 0 :baseline 0 :scale-x 1 :scale-y 1)]
|
||||
:update-fn trigger-tongue
|
||||
:ego-hearts 2
|
||||
:ego-hearts 5
|
||||
:tongue-hearts 5
|
||||
:sounds {:swoosh (utils/load-sound "tongue-fight/swoosh.ogg")
|
||||
:big-swoosh (utils/load-sound "tongue-fight/big-swoosh.ogg")
|
||||
|
||||
@@ -448,7 +448,7 @@
|
||||
(utils/play-music (:music %)) %)
|
||||
:ease tween/ease-in-quadratic)}}
|
||||
entities (utils/platformify
|
||||
(dissoc entities :google-play)
|
||||
entities
|
||||
entities
|
||||
(dissoc entities :google-play))]
|
||||
(println "after load" (.getDiagnostics @(resolve 'advent.core/am)))
|
||||
@@ -552,7 +552,9 @@
|
||||
|
||||
(= :google-play actor-key)
|
||||
(utils/platformify
|
||||
entities
|
||||
(do
|
||||
(.show (advent.core.GameCenter.) (.getUIViewController (Gdx/app)))
|
||||
entities)
|
||||
(do
|
||||
(.showAchievements (advent.core.GooglePlay.) (Gdx/app))
|
||||
entities)
|
||||
|
||||
Reference in New Issue
Block a user