Jump to content

Phaser error my website


Recommended Posts

Hi, I want add a game-banner to my website, I have a game width fixed height and full width responsive.


I have this home banner:



I want to make this(image photoshopped quickly): 



When I load phaser.min.js in my index.html, not any problem with this. But when I load my main.js the scrollbar disappear instantly:



I load phaser.min.js and main.js just after jQuery files:



The code of main.js is very simple, I want load a image sprite test:




Not even I use the id 'phaser-game'.


Thanks for all the help :) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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