WombatTurkey Posted October 18, 2015 Share Posted October 18, 2015 ~ $9.59 Requirements: 1) Must work with any Phaser Group Object2) Must work for WebGL rendered canvas's3) Api must be easy: getImage(PhaserGroupObject); It should iterate through all the children of that object and return a png image that can be downloaded or used as a sprite within the game ~ Quote Link to comment Share on other sites More sharing options...
WombatTurkey Posted October 24, 2015 Author Share Posted October 24, 2015 Raising price up to $20 USD if anyone wants to have a wack at it. Would be nice as an official plugin as well. Quote Link to comment Share on other sites More sharing options...
webcaetano Posted October 24, 2015 Share Posted October 24, 2015 Im interested return first png or array of pngs ?Should parse group to PNG or find the sprites in children? Quote Link to comment Share on other sites More sharing options...
WombatTurkey Posted October 24, 2015 Author Share Posted October 24, 2015 Im interested return first png or array of pngs ?Should parse group to PNG or find the sprites in children? Option for both maybe? But the default option should return all the images combined to a final.png (exactly what you see). For example, if you have 5 different children under a sprite, those would be rendered into the final image as well Edit: Yes, parse the group and all sprites in it (children) as a final png webcaetano 1 Quote Link to comment Share on other sites More sharing options...
webcaetano Posted October 24, 2015 Share Posted October 24, 2015 Nevermind. PhaserJS already have this feature. http://phaser.io/docs/2.4.4/Phaser.BitmapData.html#drawFull And it accept not only group, but ... world , text, sprite Here what you need in one line : game.add.sprite(x, y, game.add.bitmapData(group.width, group.height).drawFull(group));Fantastic 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.