This site works A LOT better with JavaScript enabled!
This is the beta version of this site! Some things may not be working.

Sun

Run
var emitter = null; var game = new tine.Game(null, { preload: function() { game.load.image('particle', 'assets/particle_red.png'); }, create: function() { var image = game.create.bitmap('particle', {regX:'center', regY:'center'}); emitter = new tine.Emitter(image, 500); emitter.emitX = 512; emitter.emitY = 288; emitter.angleVar = 360; emitter.speed = 40; emitter.speedVar = 10; emitter.life = 1000; emitter.lifeVar = 500; emitter.emissionRate = 250; emitter.startScale = 0.5; emitter.startScaleVar = 0.05; emitter.compositeOperation = 'lighter'; emitter.start(-1); game.stage.addChild(emitter); }, update: function() { emitter.update(game.time.delta); if (game.mouse.isDown(tine.buttons.LEFT)) { emitter.emitX = game.mouse.x; emitter.emitY = game.mouse.y; } } })