Jump to content

simple game slow on a hosted site


nischal62019
 Share

Recommended Posts

Hi there,

Im new to phaser, stated out with a sample game (flappy bird rip off), wanted to share it with my friends so i had putit on a website. Game is working fine locally, but there is a slight decrease in the performance when i play it from the hosted site. I tried pointing to phaser cdn with no luck :( what am i doing wrong here? Checkout the game here: OMGaBird.com

Link to comment
Share on other sites

There should be no reason for a performance increase or decrease based on where the files are, except for load times. But the frame rate should be unaffected. As you said, the game is pretty simple, so there should be no reasons for performance problems at all.

 

I am not seeing any problems myself, but the one thing I could think of is, perhaps, on a slower connection a file is not getting loaded properly and is triggering non-fatal, but uncaught errors?

 

Could the performance hit be coming from having too many webgl- or canvas-using browser windows open?

 

If you are still convinced the two are performing at different levels, the next step would be to use a developer tool like Chrome's profiler to actually measure that difference, and see what the source is.

Link to comment
Share on other sites

Hi Matthew,

I am not seeing any problems myself, but the one thing I could think of is, perhaps, on a slower connection a file is not getting loaded properly and is triggering non-fatal, but uncaught errors?

I was indeed on a slower connection, that could be the reason for the lag.

Could the performance hit be coming from having too many webgl- or canvas-using browser windows open?

I had many webgl browser windows open as well.

Im not seeing this problem anymore, thanks for the reply.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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