Jump to content

Search the Community

Showing results for tags 'phaser angular'.

  • 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. Hi all, I am using Phaser to develop a game in a site which power by angularJS. Now I have two pages, home page and the Phaser game page. When I link to the game page from home page, then link back to home page, and then link to game page again, I get errors below: WebGL: INVALID_OPERATION: uniform2f: location not for current program WebGL: INVALID_OPERATION: bindTexture: object not from this context As is known to all, angularJS site is Single Page Application, which means that there is only one web page, and when I link to the game page then link to other page, the Phaser instance may not be destoryed. For example, when I use CKEditor in angularJS, I always use code below to avoid this issue: var editor = CKEDITOR.instances[name]; if (editor) { editor.destroy(true) } //create a new instance... Is there method(s) like destroy() or kill() in Phaser to terminal a instance?
×
×
  • Create New...