Jump to content

what is the advantage of using pixi-tilemap?


Recommended Posts

It is used in RpgMaker MV.

1. Its like graphics but for sprites - if you dont clear it, it stays in STATIC buffer, instead of uploading DYNAMIC every frame. 0% of CPU usage when there're no changes.

2. It doesnt create sprite objects - no problem for javascript GC

There are stupid restrictions on textures, right now it can work only with 16 base textures of 1024x1024 size. That came from RpgMaker MV, and so far no one complained about it - and I can change it to be more suited for your game.

Algorithm of usage:

1. When you fill the tilemap, remember the rectangle area.

2. When user moves camera away from it - refill the tilemap.



Link to comment
Share on other sites

thanks for the clarification Ivan.  those two benefits sound promising.

I have read the source code and tutorial for a few days, trying to figure out the mechanism behinds it.   and planning to migrate it to another game engine. 

and by the way, the lib you made is awesome, thanks for sharing to the community.

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.

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.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...