Jump to content

is PIXI.SpriteBatch working in Panda?


mirage29
 Share

Recommended Posts

  • 1 month later...

I'm asking the same thing... in fact, it;s posible in pandajs make two sprites share the same atlas or spritesheet, and then share the draw call???, on phaser it's possible but here I can't get this work, I made all my tiles backgrouds render as bitmaps on an levels arrays and then never have to make the textures again, but I have a lot of objects sharing the same atlas, and can't use as backgrouds, because I need to play with his childIndex to make my player got lower or high on the index, depending on the position you have on the map (it's an isometric tile-based engine), and I really want to lower the draw calls, but still no luck,

 

another thing, I notice if you create a Container, that's already one drawcall, so if you put a sprite inside a container inside your stage, you will have two draw calls instead of one, this hit performance? or draw calls generate by empy containers are nothing compared to sprites?

 

thanks guys!

Link to comment
Share on other sites

  • 2 weeks later...

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