微件:Chibi:修订间差异

大小无更改 、​ 2023年10月27日 (星期五)
无编辑摘要
无编辑摘要
标签手工回退
无编辑摘要
第27行: 第27行:
         //加载播放器
         //加载播放器
         const app = new PIXI.Application({
         const app = new PIXI.Application({
             width:600,
             width:800,
             height:600,
             height:800,
             transparent:true
             transparent:true
         });
         });
第60行: 第60行:


             //设定小人位置
             //设定小人位置
             chibi.x = 300; //小人的基准锚点是脚下附近
             chibi.x = 400; //小人的基准锚点是脚下附近
             chibi.y = 500;  
             chibi.y = 500;  
             chibi.scale.x = 1;  
             chibi.scale.x = 1;  
第76行: 第76行:
             rectangle = new PIXI.Graphics();
             rectangle = new PIXI.Graphics();
             rectangle.beginFill(0x00FF00);
             rectangle.beginFill(0x00FF00);
             rectangle.drawRect(0, 0, 600, 600);
             rectangle.drawRect(0, 0, 800, 800);
             rectangle.endFill();
             rectangle.endFill();
             rectangle.alpha = 0;
             rectangle.alpha = 0;
17,784

个编辑