javascript - How to export pixi.application as json? -
i have used pixi canvas.
var app = new pixi.application(800, 800, { backgroundcolor: 0xffffff}); and have added 1 image canvas.
var texture2 = pixi.texture.fromimage("http://192.168.2.26:8000/videoeditor/img/boy.png"); var movesprite2 = new pixi.sprite(texture2); movesprite2.anchor.x = 0.5; movesprite2.anchor.y = 0.5; movesprite2.width = 300; movesprite2.height = 500; movesprite2.position.set(500, 400); app.stage.addchild(movesprite2); how export app json remix pixi canvas.
Comments
Post a Comment