Sign in to follow this  

is PIXI.SpriteBatch working in Panda?

Recommended Posts

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!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.