Jump to content

Can I separate game instantiation from loading?


Recommended Posts

Hey folks!

EDIT.   Ignore me! I had the function names wrong. Pure novice.

I would like to be like this:

var game = new mygame();game.onSomethingHappened = this.onSomethingHappened;game.load();

Do you know if this is possible? My generic error is firing but it occurs before onSomethingHappened has been added. 

Thanks for reading.

Link to comment
Share on other sites


  • Recently Browsing   0 members

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