Jump to content

ShivamS

Members
  • Content Count

    1
  • Joined

  • Last visited

About ShivamS

  • Rank
    Newbie

Profile Information

  • Gender
    Male
  1. This is an example for changing the scenes when an object hits a certain value on x-axis using basic HTML, Phaser and JavaScript. Index.Html file. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="phaser.js"></script> <script src="game.js"></script> <title>Test</title> </head> <body> </body> </html> Now the Game.js file content:- This contains the Scene wise functions. 1.
×
×
  • Create New...