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

Sound Groups (alternative)

Run
var game = new tine.Game(null, { preload: function() { createjs.Sound.alternateExtensions = ["mp3"]; game.load.audio('s1', 'assets/select (1).ogg'); game.load.audio('s2', 'assets/select (2).ogg'); game.load.audio('s3', 'assets/select (3).ogg'); }, create: function() { var text = game.create.text('Press any button or key...', { font:'32px arial', color:'#efefef', x: 10, y: game.canvas.height - 40 }); game.stage.addChild(text); game.sound.add('s1', 'select'); game.sound.add('s2', 'select'); game.sound.add('s3', 'select'); }, update: function() { if (game.mouse.isAnyPressed() || game.keyboard.isAnyPressed()) { game.sound.play('select'); } } })