N3RD Posted August 18, 2015 Share Posted August 18, 2015 Hello,I come from an AS3 Background and have started working with panda.js. So far I am getting used to it, but i do have a question for understanding.What is the difference between:Game.Scene.Container vs Game.Scene.Stage vs Game.Scene.World? I have worked with nape before, so the world is for physics i take it. But where does scene.container and scene.stage differ from eachother?Thanks,N3RD_L1F3 Quote Link to comment Share on other sites More sharing options...
LinkTree Posted August 18, 2015 Share Posted August 18, 2015 game.scene.stage is the main container and it is extended from the base class game.Container and game.Container is a class that can hold other game objects and be moved independently from the stage.It is useful when you want to layer a bunch of stuff on top of each other like a HUD or a menu on top of the game. N3RD 1 Quote Link to comment Share on other sites More sharing options...
N3RD Posted August 19, 2015 Author Share Posted August 19, 2015 Thank you! 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.