Jump to content

Global Variable when using Typescript

Arijit Naskar

Recommended Posts

I am using ionic framework to develop my Game.

I used Phaser as a plugin. Everything is going well but I am not able to use any external variable inside my game.

For example the highest score. I want to show it in my app menu. 

this.game.global={ ... }; 

but its showing compiling error.

Please help

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...