Jump to content

Slow performance with tilemap.


danrhan
 Share

Recommended Posts

Hello,

I made a script to draw map from dungeon keeper game.

I use the tileset extract from the game to draw it. Just for fun =)

To draw the full map i need a huge stage of 8160x8160. (85*3*32px) So i draw only a part of map.

But CPU up to 100%  when i move mouse or keyboard...

I use chrome and the last release of pixijs 4.7

I don't unsterdand. Can you help me to optimize my script ? 

Sorry, i don't speak english very well...
 

chrome.jpg.9df621aeca1fa84285b51e49fa18201c.jpg

 

Project.zip

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