Sign in to follow this  

my game is very slowly

Recommended Posts

Hello my dev friends.

   In this occasion, I post about a problem what I have... I make a game with this beautifull framework but is very slowly. When the game starts all is black for considerable time until loaded it because the browser is loading the game (client-side code, I know)... but I want know Why does it take too long? 

   I want add a loadingbar for show it to the user while the browser load the code...but doesn't works

  I create my loading bar like this


 preload: function(){


create: function(){
     var loadingbar = this.add.sprite(,,"loading");

but doesn't work...

If I apply minification to my client-side code, will be more fast ?  I going to thanks every help from you, about the loading bar or about the performance

Greetings and thank you for reading 

Share this post

Link to post
Share on other sites
26 minutes ago, bousing said:

if I use canvas and not WebGL my performance is better ? Thank you for your answer



In some situations. For example, if you use a BitmapData(and change it every frame), or text that you change every frame. Or if you use pre-2.7 Phaser and use a tilemap.

Share this post

Link to post
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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.