Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Depth system in pixi?


Josepho
 Share

Recommended Posts

  • 1 year later...

Hi to everybody.
I have two containers, how can i sort all object into the two system?

I have a particle system ( a PIXI.SpriteBatch ) and some sprite into the stage.

Every spriteBatch object and every stage sprite have the "z" attribute.
I would sort the sprite ( into the stage ) and the objects ( into the sproteBatch ) based on the "z" attribute.

Link to comment
Share on other sites

  • 7 months later...

There can be 100 different implementations of Z-layer, we can do them as a plugins. Just tell me what kind of z-index you need, do you want to use DEPTH_BUFFER or sort all sprites in scene?

 

 

C'mon, even SFML has this. What's your excuse on this one? 

 

For example, that thing will mess with filters and particles.

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