Jump to content

How to layer a particleContainer and normal container?


Rembrandt
 Share

Recommended Posts

Hi, this is my scenario. I have a particleContainer as parallax background for my game. But i want the rest of the game to render in a normal container.

But i can only see the particleContainer. It looks like the containers overlap each other. I already tried using transparency but it's not working.

So is it possible to create a game with a particleContainer as background and a normal container for the player/enemies etc. ?

Thanks.

-EDIT

I fixed it. Just add the particleContainer as a child to the normal container.

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