clojure.gdx

->color

(->color c)

add-markdown-color!

(add-markdown-color! name color)

asset-manager

(asset-manager assets)

clear-screen!

(clear-screen!)

copy-tile

Memoized function. Tiles are usually shared by multiple cells. https://libgdx.com/wiki/graphics/2d/tile-maps#cells No copied-tile for AnimatedTiledMapTile yet (there was no copy constructor/method)

create-tiled-map

(create-tiled-map {:keys [properties layers]})

files

(files)

GetMapProperties

protocol

members

get-map-properties

(get-map-properties _)

graphics

(graphics)

input

(input)

k->align

(k->align k)

Returns the com.badlogic.gdx.utils.Align enum for keyword k.

k is either :center, :left or :right and Align value is Align/center, Align/left and Align/right.

operating-system

(operating-system)

pixmap

(pixmap file-handle)(pixmap width height format)

post-runnable!

macro

(post-runnable! & exprs)

sprite-batch

(sprite-batch)

static-tiled-map-tile

(static-tiled-map-tile texture-region property-name property-value)

tmx-tiled-map

(tmx-tiled-map file-name)

Has to be disposed because it loads textures. Loads through internal file handle.

ui-viewport

(ui-viewport {:keys [width height]})

world-viewport

(world-viewport world-unit-scale {:keys [width height]})