SpriteAnimation.lua
Tile.lua
Neo3D.lua
QuadTree.lua
Widget.lua
Sprite.lua
Collision.lua
OEntity.lua
Button.lua
Graphics2D.lua
InputField.lua
LuaUnit.lua
Tests.lua
OCamera.lua
Object3d.lua
class.lua
OLight.lua
SpriteSheet.lua
OSound.lua
Utils.lua
Canvas.lua
Label.lua
Api.lua

The Graphics2D Interface

The Graphics2D interface allows you to easily take advantage of
the 2D rendering capabilities Neo has. You can easily include
this file (Graphics2D.lua) and use all classes and functions
related to 2D graphics access.

This interface allows you to easily create in-game UIs, display and manipulate
sprites and load and manage sprite sheets and sprite sheet based animations.

Example for loading an animation:


dofile("SDK/Graphics2D.lua")

local spriteSheet = SpriteSheet("maps/p1_spritesheet.png", 72, 97, 1)
local tile = Tile(100,100,72,97,spriteSheet,0,0)

mainCanvas:addWidget(tile)

local walkAnimation = SpriteAnimation(0,3,70,true)
tile:attachAnimation(walkAnimation)

function onSceneUpdate()
     tile:update()
end