Tsh
The T(hirty) S(ix) h(undred) engine
The primary module for the engine.
Tsh.play() and Tsh::PlayThing are the most
used parts of the engine.
Constants
COLOR_COUNT = 32
The size of Tsh.colors
MAX_SOUNDS = 16
The maximum amount of sound that can play at the same time. 1-16
VERSION = "0.2.0"
Class methods
play(title : String, res_x : UInt32, res_y : UInt32, colors : Array(Tsh::Color) = [] of Tsh::Color, &)
Starts the engine. Yields a block to update the game
res_y
Source