4ian Posted May 14, 2013 Share Posted May 14, 2013 Hi,First, congratulations for your work on Pixi, the library is awesome I wonder if it is possible to use some kind of virtual cameras ? That is to say, use for the sprites and others objects coordinates which are "world" coordinates, and then change the area that is rendered by the stage.I've tried to change the stage position or rotation properties, but it does not seems to have any effect.Any help is welcome Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted May 14, 2013 Share Posted May 14, 2013 Thanks very much Its really great to see people using pixi.js! The best way to support cameras at the moment is to put everything in a container and move that around. So if the camera position is 10, 100 the container position would be set to -10, -100. I will look into adding an actual camera feature to pixi.js once I have finished the bits I'm working on at the moment, but hopefully this will do the trick as a temporary solution.. Thanks! Quote Link to comment Share on other sites More sharing options...
4ian Posted May 14, 2013 Author Share Posted May 14, 2013 Sounds great, I'm going to use containers, it will be perfect for now Many thanks 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.