Vieo Posted August 21, 2013 Share Posted August 21, 2013 I'm currently rendering a DisplayObjectContainer which contains 100x100 sprites (tile map) in to a RenderTexture (To use as a texture cache). But it seem to be that anything rendered in a RenderTexture has its position set to 0,0.Any way around this? Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted August 21, 2013 Share Posted August 21, 2013 HI Vieo, The second parameter for rendering using render texture is the position that the DisplayObjectContainer will be rendered at.var renderPosition = new PIXI.Point(100, 100);rt.render(displayObjectContainer, renderPosition);hope that helps! 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.