Brandon

Members
  • Content Count

    1
  • Joined

  • Last visited

About Brandon

  • Rank
    Newbie

Contact Methods

  • Twitter
    BrandonClapp
  1. I'm fairly new to pixi but have read through a few tutorials and understand the basic concepts. One thing that I am confused about is the purpose of the renderer vs the stage. I would like to set up a game that is comprised of 4 sections - 1 main game and 3 layered over the top of it, as shown here: The main game section (green) would be the bottom most layer. The other 3 would go on top of it. This "layer" would be responsible for rendering the bulk of my game objects and would need to be updated in my main game loop, while each of the subsequent layers would provide additional functionality such as chat (brown), interacting with my game objects from an "inspector" (blue), and a static menu (purple). In order to achieve this, I have the following questions: Can one renderer render multiple stages? If so, could I create 4 separate stages, add my DisplayObject's to each stage, then render each stage individually using the same renderer? Does each section of my game need it's own renderer? I've seen examples where people will use multiple renderers (which will yield multiple canvas elements) and attach a single stage to each renderer. Each canvas is then positioned directly on top of each other and the top most stages are transparent. Thanks for the help in advanced and I look forward to learning a lot from this board! Brandon