大约有 337 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0058 秒)
Laya_社区(267) Laya2.0_文档(21) Laya2.0_示例(10) Laya_示例(9) laya_api(8) Laya3.0_api(8) Laya2.0_api(8) Laya3.0_文档(6)
...function() { var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 200; var mStartY = 500; var mFactory; var mActionIndex = 0; var mCurrIndex = 0; var mArmature; var mCur...
来源: Laya_示例 发布时间: 20241124
...rowser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary { constructor() { this.aniPath = "res/bone/spineboy-pma.skel"; this.index = -1; Laya.init(Browser.width, Browser.height, WebGL)...
来源: Laya2.0_示例 发布时间: 20241124
...Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); ...
来源: Laya2.0_示例 发布时间: 20241124
....js:10293) fitDOMElementInArea (laya.core.js:10340) run (laya.core.js:710) event (laya.core.js:494) setScreenSize (laya.core.js:18495) _changeCanvasSize (laya.core.js:18371) run (laya.core.js:9832) _update (laya.core.js:9576) render (laya.core.js:18561) _loop (laya.core.js:18519) loop (laya.core.js:...
来源: Laya_社区 发布时间: 20181020
...Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath);...
来源: Laya2.0_示例 发布时间: 20241124
...function() { var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionIndex = 0; var mCurrIndex = 0; var mArmature; var mCur...
来源: Laya_示例 发布时间: 20241124
Socket连接不上(已解决) socket = new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.connect("127.0.0.1", 8080); 照着官方例子,服务器显示连接上了,但onSocketOpen没调用到,而且socket的connected为false。 能帮忙看是什么原因么? 具体代...
来源: Laya_社区 发布时间: 20170209
...tX = 400, mStartY = 500, mCurrIndex = 0, mLabelSprite; class Skeleton_SpineEvent { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeig...
来源: Laya2.0_示例 发布时间: 20241124
...node_modules/noice-json-rpc/lib/noice-json-rpc.js:42:48) at emitOne (events.js:101:20) at LoggingSocket.emit (events.js:191:7) at Receiver.receiverOnMessage (/Applications/LayaAirIDE.app/Contents/Resources/app/extensions/laya-debug2/node_modules/ws/lib/websocket.js:719:20) at...
来源: Laya_社区 发布时间: 20200113
...种开发语言、LayaAirIDE让项目开发更高效。(function() { var EventData = Laya.EventData; var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Sprite = Laya.Sprite; var Event = Laya.Event; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var Tween = L...
来源: Laya_示例 发布时间: 20241124