Jump to content

Cells Map


lordmyrnya
 Share

Recommended Posts

Hello.

I have an idea with procedural map generation with rectangle cells (honestly, I've choosed to move from clean canvas render to PixiJS)

For example I have map 100x100 with 30px cells. That means that i have 10000 rectangles and layer 3000x3000

When I starting this project on my smartphone this causes fps drop to 20-30 

If i using old canvas method fps is more than 60

When I stop app with stop function fps is more than 60

What can I do if I want to use Pixi? Any way to optimization it?

(sorry for English)

Link to comment
Share on other sites

Yes. Unfortunately I dont have time to explain all that for 100th time, so please read threads that you find with "pixi-tilemap" phrase over this subforum. I should have created general article about tilemap optimizations, too many times that was asked.

Edited by ivan.popelyshev
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...