Start 0.2.1-SNAPSHOT
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
(defproject play-clj "0.2.0"
|
(defproject play-clj "0.2.1-SNAPSHOT"
|
||||||
:description "A LibGDX wrapper for easy cross-platform game development"
|
:description "A LibGDX wrapper for easy cross-platform game development"
|
||||||
:url "https://github.com/oakes/play-clj"
|
:url "https://github.com/oakes/play-clj"
|
||||||
:license {:name "Public Domain"
|
:license {:name "Public Domain"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
[com.badlogic.gdx.audio Sound]
|
[com.badlogic.gdx.audio Sound]
|
||||||
[com.badlogic.gdx.assets AssetManager]
|
[com.badlogic.gdx.assets AssetManager]
|
||||||
[com.badlogic.gdx.graphics Camera Color GL20 OrthographicCamera
|
[com.badlogic.gdx.graphics Camera Color GL20 OrthographicCamera
|
||||||
PerspectiveCamera VertexAttributes$Usage]
|
PerspectiveCamera Texture VertexAttributes$Usage]
|
||||||
[com.badlogic.gdx.graphics.g2d NinePatch ParticleEffect SpriteBatch
|
[com.badlogic.gdx.graphics.g2d NinePatch ParticleEffect SpriteBatch
|
||||||
TextureRegion]
|
TextureRegion]
|
||||||
[com.badlogic.gdx.graphics.g3d Environment ModelBatch ModelInstance]
|
[com.badlogic.gdx.graphics.g3d Environment ModelBatch ModelInstance]
|
||||||
@@ -91,7 +91,9 @@ bound to a map containing various important values related to the screen"
|
|||||||
[{:keys [on-create]}]
|
[{:keys [on-create]}]
|
||||||
(proxy [Game] []
|
(proxy [Game] []
|
||||||
(create []
|
(create []
|
||||||
(when on-create (on-create this)))))
|
(Texture/setEnforcePotImages false)
|
||||||
|
(when on-create
|
||||||
|
(on-create this)))))
|
||||||
|
|
||||||
(defmacro defgame
|
(defmacro defgame
|
||||||
"Creates a var for the symbol `n` bound to a [Game](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/Game.html)
|
"Creates a var for the symbol `n` bound to a [Game](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/Game.html)
|
||||||
|
|||||||
Reference in New Issue
Block a user