arcbox Posted February 28, 2014 Share Posted February 28, 2014 Hello, I am wondering if there is any way to create a blank image, and then draw other images onto it to create a bigger image. The purpose of this is to have a dynamic UI system, where our menus can be set to any size, and it will be created by tiling together all of the pieces - i.e., the top left corner is next to a repeating top middle tile followed by the top right corner, and there are as many top-middle tiles as needed to fill the width. Then it will fill out the side tiles as determined by the height. Is there a good way to accomplish this? Thanks! Link to comment Share on other sites More sharing options...
Sebi Posted February 28, 2014 Share Posted February 28, 2014 I'm not used to phaser but I use pixi which is used for rendering in phaser.I think you are looking for RenderTexture. Certainly better than using multiple sprites. Link to comment Share on other sites More sharing options...
LastDragon Posted February 28, 2014 Share Posted February 28, 2014 I use the spritepad from we are kiss, accessible here... http://wearekiss.com/spritepad ,it combines all images into one and further gives you the css for referencing... simple and straight to the point. Link to comment Share on other sites More sharing options...
LastDragon Posted February 28, 2014 Share Posted February 28, 2014 Oops, sorry read the question wrongly, lost in translation i guess Link to comment Share on other sites More sharing options...
Recommended Posts