Jump to content

Search the Community

Showing results for tags 'phaser globals levels'.

  • 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, Have a question re: codevinsky's rather wonderful "generator-phaser-official" (see http://codevinsky.ghost.io/phaser-tutorial-getting-started-with-generator-phaser-official/). If I generate a sample project (by running yo phaser-official) it generates a set of JS files in states, five .js files. What I'd like to know - is - in this structure where can I put global variables. For example, supposing I wanted to hold onto the level a game player is on and didn't wish to use local storage? I can't (and no doubt shouldn't) put it in main.js - that gets overwritten. So just wondered if anyone had any suggestions? Many thanks, R
×
×
  • Create New...