Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 Semi-internal constants for ut namespace, ut
 setBackground, Tile
 setCacheEnabled, Engine
 setChar, Tile
 setColor, Tile
 setGrey, Tile
 setKeyRepeatInterval, ut
 setMaskFunc, Engine
 setRenderer, Viewport
 setShaderFunc, Engine
 setTileFunc, Engine
 setWorldSize, Engine
T
 Tile
U
 unicodetiles.js
 unsafePut, Viewport
 update, Engine
 updateStyle, Viewport
 ut
V
 VERSION, ut
 Viewport
W
 WebGLRenderer
ut.Tile.prototype.setBackground = function(r,
g,
b)
Sets the background color of this tile.
ut.Engine.prototype.setCacheEnabled = function(mode)
Enables or disables the usage of tile cache.
ut.Tile.prototype.setChar = function(ch)
Sets the character of this tile.
ut.Tile.prototype.setColor = function(r,
g,
b)
Sets the foreground color of this tile.
ut.Tile.prototype.setGrey = function(grey)
Sets the foreground color to the given shade (0-255) of grey.
ut.setKeyRepeatInterval = function(milliseconds)
Sets the interval when user’s onKeyDown handler is called when a key is held down.
ut.Engine.prototype.setMaskFunc = function(func)
Sets the function to be called to fetch mask information according to coordinates.
this.setRenderer = function(newrenderer)
Switch renderer at runtime.
ut.Engine.prototype.setShaderFunc = function(func)
Sets the function to be called to post-process / shade each visible tile.
ut.Engine.prototype.setTileFunc = function(func,
effect,
duration)
Sets the function to be called with coordinates to fetch each tile.
ut.Engine.prototype.setWorldSize = function(width,
height)
Tiles outside of the range x = [0,width[; y = [0,height[ are not fetched.
Represents a unicode character tile with various attributes.
ut.Tile = function(ch,
r,
g,
b,
br,
bg,
bb)
Constructs a new Tile object.
This file contains the main tile engine namespace.
ut.Viewport.prototype.unsafePut = function(tile,
x,
y)
Puts a tile to the given coordinates.
ut.Engine.prototype.update = function(x,
y)
Updates the viewport according to the given player coordinates.
this.updateStyle = function(updateRenderer)
If the style of the parent element is modified, this needs to be called.
Container namespace.
Version of the library as string.
The tile engine viewport / window.
ut.Viewport = function(elem,
w,
h,
renderer,
squarify)
Constructs a new Viewport object.
Renders the Viewport with WebGL.
Close