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

Fire

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.angle = -90; emitter.angleVar = 10; emitter.speed = 100; emitter.speedVar = 20; emitter.life = 2000; emitter.lifeVar = 500; emitter.emissionRate = 150; emitter.startScale = 0.3; 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; } } })