大约有 92 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0038 秒)
..._proto._update (http://127.0.0.1:10656/game/js/bundle.js:8101:15) at Stage.__proto.render (http://127.0.0.1:10656/game/js/bundle.js:24593:14) at Stage.__proto._loop (http://127.0.0.1:10656/game/js/bundle.js:24517:8) at loop (http://127.0.0.1:10656/game/js/bundle.js:8383:15) 说...
来源: Laya_社区 发布时间: 20181123
...laya.utils.Browser; public class Retitution extends Sprite { private const stageWidth:int = 800; private const stageHeight:int = 600; private var Matter:Object = Browser.window.Matter; private var LayaRender:Object = Browser.window.LayaRender; private var mouseConstraint:*; private var engine:*; /**...
来源: Laya_社区 发布时间: 20171214
...unction() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, ...
来源: Laya_社区 发布时间: 20181120
...aredresize------------2----------------"); if (message.data.matrix) { Laya.stage._canvasTransform = message.data.matrix;//重新设置矩阵 console.log(Laya.stage._canvasTransform); } }else if (message['isLoad'] == "filedata") { // trace("------------------------filedata-url:...
来源: Laya_社区 发布时间: 20180504
...aphics.drawRect(0, 0, 200, 200, "#0xFFFF00"); bgSprite.pos(300, 300); Laya.stage.addChild(bgSprite); let mask = new Laya.Sprite(); bgSprite.mask = mask; mask.graphics.drawCircle(0, 0, 100, "0x0000FF"); window.onblur = function() { console.log("onblur....?"); Laya.timer.once(2000, null, function() { ...
来源: Laya_社区 发布时间: 20181016
...ush (file:///F:/Chess/client2D2017_11_19/bin/libs/laya.core.js:5569:31) at Stage.__proto.render (file:///F:/Chess/client2D2017_11_19/bin/libs/laya.core.js:17348:14) at Stage.__proto._loop (file:///F:/Chess/client2D2017_11_19/bin/libs/laya.core.js:17274:9) at loop (file:///F:/Chess/client2D2017_11_19...
来源: Laya_社区 发布时间: 20171206
...击会报下面的错误 WAGame.js:3 gameSubContextThirdScriptError this._stage._canvasTransform.invertTransformPoint is not a function;at requestAnimationFrame callback function TypeError: this._stage._canvasTransform.invertTransformPoint is not a function at MouseManager.__proto.initEvent (subCont...
来源: Laya_社区 发布时间: 20180404
...tion () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("LayaScene_Laya3D01/Laya3D01.ls",Laya.Handler.create(null,function(scene){ Laya.sta...
来源: Laya_社区 发布时间: 20180919
...= new ProgressBar(AssetsDir+"./assets/progressBar.png"); pBar.width = Laya.stage.width/2;//400; pBar.x = (Laya.stage.width - pBar.width) / 2; pBar.y = Laya.stage.height / 2; 。。。 }这是 progressBar 资源加载完毕之后,构造progressBar的脚本。 总是在这里出现错误,如下:...
来源: Laya_社区 发布时间: 20180316
...LayaAir3D { constructor() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 var scene = Laya.Scene.load("LayaScene_unity1/unity1.ls"); Laya.stage.addChild(scene); //创建摄像...
来源: Laya_社区 发布时间: 20171017