大约有 64 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0037 秒)
...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
...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
..._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
...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
...3D.__proto._setParent (file:///D:/H5/bin/libs/laya.core.js:18511:31) at Stage.__proto.addChild (file:///D:/H5/bin/libs/laya.core.js:13290:9) at SceneManage.createScene (file:///D:/H5/bin/js/bundle.js:26107:20) at BattleLoading.<anonymous> (file:///D:/H5/bin/js/bundle.js:18082:57) a...
来源: Laya_社区 发布时间: 20190222
... tiledMap.createMap("../res/dt.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); 调用后报错TypeError: Cannot read property 'split' of undefined at TiledMap.__proto.mergePath (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.tiledmap.j...
来源: Laya_社区 发布时间: 20181026
...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
...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
... at TimerHandler.__proto.run at Timer.__proto._update at Stage.__proto.render at Stage.__proto._loop at loop 引擎版本1.6.2 我们日志统计到,大量玩家报这个错误 我找到是因为AnimationTemplet类里getOriginalData方法的key为空的原因,...
来源: Laya_社区 发布时间: 20170418
...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