Add: seperate ads page from start page and apply Google Analytics code
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/////////////////////////////
|
||||
// Main game
|
||||
|
||||
var CONTENT_ID = "Ads";
|
||||
|
||||
var game = new Phaser.Game(
|
||||
GAME_SCREEN_SIZE.x, GAME_SCREEN_SIZE.y,
|
||||
Phaser.CANVAS, CONTENT_ID
|
||||
);
|
||||
|
||||
|
||||
game.state.add('Ads', Ads);
|
||||
game.state.start('Ads');
|
||||
Reference in New Issue
Block a user