Jump to content

Search the Community

Showing results for tags 'navigator'.

  • 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 everyone I am now joining the forum, and have now started using intel XDK, to create a Phaser project. However, the default project created by XDK, has some errors. It doesn't prevent the app from running (I can see a rotating bear on the screen), but I fear those errors will spell trouble. Here are the errors: 10 JSHint Problems×Line Problem Code snippet4 'document' is not defined. (W117) document.addEventListener('DOMContentLoaded', function()7 'PIXI' is not defined. (W117) var stage = new PIXI.Stage(0x66FF99);10 'screen' is not defined. (W117) var width = screen.availWidth;11 'screen' is not defined. (W117) var height = screen.availHeight;12 'PIXI' is not defined. (W117) var renderer = PIXI.autoDetectRenderer(width, height);15 'document' is not defined. (W117) document.body.appendChild(renderer.view);17 'requestAnimFrame' is not defined. (W117) requestAnimFrame(animate);20 'PIXI' is not defined. (W117) var texture = PIXI.Texture.fromImage("asset/phaser.png");23 'PIXI' is not defined. (W117) var phaserImage = new PIXI.Sprite(texture);37 'requestAnimFrame' is not defined. (W117) requestAnimFrame(animate); 2 JSHint Problems×Line Problem Code snippet11 'document' is not defined. (W117) document.addEventListener('deviceready', function() {13 'navigator' is not defined. (W117) navigator.splashscreen.hide(); 4 JSHint Problems×Line Problem Code snippet21 'BasicGame' is not defined. (W117) BasicGame = {26 'BasicGame' is not defined. (W117) BasicGame.Game = function (game)32 'BasicGame' is not defined. (W117) BasicGame.Game.prototype =49 'Phaser' is not defined. (W117) this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; The codes are just the default. If you would like me to post the codes I can do so.I appreciate any help I can get on this. Thanks
×
×
  • Create New...