Jump to content

Pixi.js V5 - isometric tile map


h3xed
 Share

Recommended Posts

Because if you use graphics for it, you have to supply texture offset too. Did you see parameter "matrix" in beginTextureFill?

Also you can use sprites or pixi-tilemap. Basically, for many tiles , sprites << graphics << pixi-tilemap. And you need good high-level algo to separate your map into several chunks

Edited by ivan.popelyshev
Link to comment
Share on other sites

Thank you Ivan for help! Yes i seen this parametr and i will try set it correctly.

I tried to use pixi-tilemap but it's not compatible with Pixi v5 (or i did something wrong).

3 hours ago, ivan.popelyshev said:

And you need good high-level algo to separate your map into several chunks

I want render only tiles existing in current camera view and i hope that this will be enough.

Edited by h3xed
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...