Jump to content

Search the Community

Showing results for tags 'phaser.io.sandbox'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hello & Thanks , Code below runs great in Brackets but not online : http://liesandcowpies.com/testMe/vm-phaser/vm-play-music-WEB.html no errors in Chrome . & not on : http://phaser.io/sandbox/obNsxTrv or http://phaser.io/sandbox/obNsxTrv/play Anyone know why ? Thanks . var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'vm-play-music', { preload: preload, create: create, update: update}); // http://liesandcowpies.com/testMe/vm-phaser/vm-play-cowMoo-WEB.html var s; var cowMoo; var onceThru =1; function preload() { // game.load.baseURL = 'http://liesandcowpies.com/testMe/vm-phaser/'; // game.load.crossOrigin = 'anonymous'; game.load.audio('cowmoo', 'CowMoo.mp3'); } function create() { cowMoo = game.sound.add('cowmoo', .5,'false'); cowMoo.play(); } function update() { if (onceThru == 1) { alert('function update() ' + onceThru); collisionLies02(); onceThru = onceThru + 1 ; } } function collisionLies02() { onceThru = onceThru + 1; alert('function collisionLies02() , onceThru = ' + onceThru); // cowMoo = game.sound.add('cowmoo', .5,'false'); cowMoo.play(); } var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'vm-play-music', { preload: preload, create: create, update: update}); // http://liesandcowpies.com/testMe/vm-phaser/vm-play-cowMoo-WEB.html var s; var cowMoo; var onceThru =1; function preload() { // game.load.baseURL = 'http://liesandcowpies.com/testMe/vm-phaser/'; // game.load.crossOrigin = 'anonymous'; game.load.audio('cowmoo', 'CowMoo.mp3'); } function create() { cowMoo = game.sound.add('cowmoo', .5,'false'); cowMoo.play(); } function update() { if (onceThru == 1) { alert('function update() ' + onceThru); collisionLies02(); onceThru = onceThru + 1 ; } } function collisionLies02() { onceThru = onceThru + 1; alert('function collisionLies02() , onceThru = ' + onceThru); // cowMoo = game.sound.add('cowmoo', .5,'false'); cowMoo.play(); }
×
×
  • Create New...