Skip to content

Instantly share code, notes, and snippets.

@jabubuck
jabubuck / spriteSheetAnimator.js
Created April 26, 2013 17:52
Sample project that animates single row sprite sheets(I will later add support for multiple rows/animations for single sprites) This is for Titanium iOS and Android
//"THE BEER-WARE LICENSE": As long as you retain this notice you can do whatever you want with this stuff.
//If we meet some day, and you think this stuff is worth it, you can buy me a beer in return Jamie Buckley
var win = Ti.UI.createWindow({
backgroundColor: 'black',
fullscreen: true,
width: Ti.Platform.displayCaps.platformWidth,
height: Ti.Platform.displayCaps.platformHeight
});