Jump to content

How to set up Phaser game correctly?


dudeperfect
 Share

Recommended Posts

I read pretty much everything in phaser.io, but couldn't find how to set up the page correctly.

 

I mean, first of all I should have some .html file right?

I import phaser.js in <head> section, then what? I read that everything starts with

var game = ...

but can't find where to put this code. I also read that the structure of everything depends on how big the game is, but the differences are not mentioned.

 

Sorry, it is hard to read this post, I believe, but I hope you understood my question.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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