dcsan Posted January 25, 2014 Share Posted January 25, 2014 trying to get started with Pixi and I'm wondering: * hierarchywhat the tools are for building up a hierarchy of elements?i'm looking for similar to:http://www.limejs.com/2_layout_and_nodes we have sprite.addChild() - is that the grouping item?and also DisplayObjectContainer.which is the preferred way to create a scene graph hierarchy? * scene manageralso a Scene/Director to move between different entire scenesis there a manager for this?are there any ways to do transitions between scenes (using stage?) * building UIsare there any components for UIs? sliders, buttons, other widgets...I'm picking through the examples but they are mostly focusing on the game and sprites, if anyone can suggest other broader tutorials of building menus and navigation between UI screens, that would be great Quote Link to comment Share on other sites More sharing options...
xerver Posted January 26, 2014 Share Posted January 26, 2014 - hierarchy Pixi is a scene graph, Sprite is just a DisplayObejctContainer but with a texture. - Scene manager Scenes can be thought of as just display object containers that you show/hide. You can do any effect you want with alpha and visibility. Pixi is a rendering engine, not a game engine so there is no concept of "Scenes" only containers, sprites, and textures. - building UIs I highly recommend using HTML elements for this, doing form elements inside of a canvas is frustrating for the developer and the user (just like it was with flash). The tutorials you are talking about sound game-centric, pixi isn't a game engine only a rendering engine. It is used in chart libraries, games, website effects, and a lot of other things. If you are looking for game features check out an engine based on pixi like Phaser or Grapefruit. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.