Skip to content

Instantly share code, notes, and snippets.

@n1okr
n1okr / sequence.lua
Created June 5, 2012 13:17
sequence playback
-- access to the scene objects
local scene = getCurrentScene()
-- define keyboard input
local inputManager = getInputManager()
local keyboard = Keyboard(inputManager:getDevice(TIINPUT_KEYBOARDDEVICE))
-- dynamically create the texture objects for image sequence
local Textures = {}
@n1okr
n1okr / material_alpha.material
Created June 5, 2012 13:12
alpha not working
material tv/frame
{
technique
{
pass
{
ambient 0.215686 0.215686 0.215686
diffuse 0.215686 0.215686 0.215686 1
specular 0.172549 0.172549 0.172549 70
emissive 0 0 0