Clojure game engine with plugable renderer options.
Check out the docs prospero.game-objects
for a good place to start.
Clojure game engine with plugable renderer options. Check out the docs `prospero.game-objects` for a good place to start.
(start-game game-system objects)
Call this to start your game and pass control over to Prospero's game loop.
objects
should be a vector containing 1 or more roots for the game state.
objects
are best built using prospero.game-objects
functions.
game-system
is a map that should include, at a minimum, the key
:prospero.core/game-system
that should point to the plugable game system
to be used for rendering. You can set the desired minimum frame time with
prospero.loop/frame-delay
in the game-system
options, too.
Call this to start your game and pass control over to Prospero's game loop. `objects` should be a vector containing 1 or more roots for the game state. `objects` are best built using `prospero.game-objects` functions. `game-system` is a map that should include, at a minimum, the key `:prospero.core/game-system` that should point to the plugable game system to be used for rendering. You can set the desired minimum frame time with `prospero.loop/frame-delay` in the `game-system` options, too.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close