Jump to content

How to call another file functions in phaser 3


Balamurugan
 Share

Recommended Posts

On 2/24/2018 at 10:06 PM, Horizonicblue said:

I think this should work


var game1 = {
  game.fun();
}

Is working fine thank you so much. But i also have a globel variable deck in file 1, or anyother options there, set a common global variable and use in another class. how to access also, please help us..

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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