hard75 Posted April 3, 2019 Share Posted April 3, 2019 Hi, i want to know if pixi js have a editor that it can to handle the graphic's pixi and it drag and set your position, this graphics: var app = new PIXI.Application(800, 600, { antialias: true }); document.body.appendChild(app.view); var graphics = new PIXI.Graphics(); // Rectangle graphics.beginFill(0xDE3249); graphics.drawRect(50, 50, 100, 100); graphics.endFill(); or i use tilemap editor but i don't know if tilemap edito can to handle graphic's pixi, Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 3, 2019 Share Posted April 3, 2019 There are solutions but nothing is easy. There's pixi-svg https://github.com/bigtimebuddy/pixi-svg that can take info from svg. There's also Tiled editor and https://github.com/eXponenta/pixi-tiled that allows to take polygons and sprites from it, but I dont remember if it has export to graphics, but hey, you can add it! Currently I work on solution to open SWF files so people would create graphics in Adobe Animate. I think that you can do something for your case, I saw that teams who made games on pixi with their own engine always did their own editors. I do not know why there is no Graphics, I never needed it and I guess people hold their stuff and dont release it I think that https://twitter.com/Pix2d is going to add support to pixi soon. pxlatedtraveler and hard75 2 Quote Link to comment Share on other sites More sharing options...
hard75 Posted April 4, 2019 Author Share Posted April 4, 2019 Oh ok, i will check but I try to create a editor for pixi js that it looks like visual editor of mighty editor (http://mightyeditor.mightyfingers.com/ ) but it working with graphics or i want to use tilemap editor and i handle to graphics pixi js graphic. XD Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 4, 2019 Share Posted April 4, 2019 i think that editor was for phaser2, and phaser2 was built on pixi so you can do something like that , even take some code. I can ask mightyfingers if they are ready to share their old work hard75 1 Quote Link to comment Share on other sites More sharing options...
hard75 Posted April 4, 2019 Author Share Posted April 4, 2019 Ok 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.