Jump to content

Large Map Preformance


Lomaz
 Share

Recommended Posts

Hello! I just started with Phaser the other day, and I am running into an issue.  I am using a camera, and a world with large bounds... The issue I have is i'd like to have a larger world, but at that size it runs very slowly (also takes ages to load)

 

The best I can get fluid motion at is around 2400x2400, but I'd like to bring it as high as 9600x9600, Is there a way to optimize this by only rendering tiles close to the viewport? My map is made up of several hundred 48x48 tiles, who's values are pulled from a JSON object.

 

Let me know if you need links or source or anything! again, I'm new to Phaser, so there may be something simple I'm missing.

Link to comment
Share on other sites

  • 3 weeks later...

I am using tiled.  I got things working, but not with the plugin listed above, as of now a 900x900 viewport gives me 11FPS, not exactly smooth.  I tried following the code listed in the GIT but to no avail, is there a full project anywhere I can see it at work to compare and see what I'm doing wrong?

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