Sign in to follow this  

Is tilemaps rendering too slow?

Recommended Posts

I have the same issue with that example, the renderMap() function seems to be the one causing the fps drop.

I placed a count variable inside the rendermap() function and it gets to 1900 on every run. That's alot of looping for that little of a screen. runs better then

Share this post

Link to post
Share on other sites

People will tell you to use the phaser-tiled plugin, you can also try that or give my library a try.

I wrote some documentation on the wiki. If you like it and have some questions I'll be sure to answer them and update the wiki at the same time.

It is capable of a lot more than what I wrote on the wiki so ask and I shall answer.

Share this post

Link to post
Share on other sites

I have read the newsletter, im very sorry about the brexit, but @photonstorm didnt mention anything about the tile maps + WebGL shader :S :S

Quoting phaser 2.5.1 changelog (is this the fix for the tilemaps bug?);


Pixi Updates

Please note that Phaser uses a custom build of Pixi and always has done. The following changes have been made to our custom build, not to Pixi in general.

  • Removed _renderWebGL, _renderCanvas, getLocalBounds and getBounds from PIXI.DisplayObject, as they were only there to pass ancient jshint rules.

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.