Jump to content

Phaser error my website


FrankyCutty
 Share

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:

ddm8wh.png

 

I want to make this(image photoshopped quickly): 

29ly6uu.png

 

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:

mpzc6.png

 

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

2prwv7n.png

 

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

28hopl4.png

 

 

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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