大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...1 fail @ code.js:21393 (anonymous) @ WAGame.js:3 (anonymous) @ WAGame.js:4 function.setTimeout @ gamePage.html:1 (anonymous) @ WAGame.js:3 (anonymous) @ WAGame.js:14 setTimeout (async) setTimeout @ WAGame.js:14 s @ gamePage.html:1 f.registerCallback @ gamePage.html:1 m.forEach @ gamePage.html:1 d @ ...
来源: Laya_社区 发布时间: 20180531
..._proto.parseTsImport”,修改该函数体内容:__proto.parseTsImport=function(str){ var tStr = str.replace("import",""); str = 'from'; str = tStr.indexOf(str) > -1 ? str : '='; tStr = StringTool$1.trimSide(tStr.split(str)[0]); this.importDic[tStr] = true; }当然也可以把CodeManager.pars...
来源: Laya_社区 发布时间: 20200727
... QZONE 微信 l13273866189 赞同来自: // 下落 _proto_.moveDownBall = function(){ this.ball.x -= this.vx; this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.img1 ||this.ball.y + this.vy <= 0) { this.vy =...
来源: Laya_社区 发布时间: 20171108
...avascript):var WebGL = laya.webgl.WebGL; Laya.init(1920, 1080, WebGL); function _OnMapCreate() { console.log("map create ..."); } var viewRect = new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height); var tMap = new Laya.TiledMap(); tMap.createMap("res/isometric_grass_and_water.json", vie...
来源: Laya_社区 发布时间: 20190102
...n计算结束弧度。Constructor DetailParticleSetting()Constructorpublic function ParticleSetting() 创建一个新的 ParticleSettings 类实例。 Method DetailcheckSetting()method public static function checkSetting(setting:Object):void Parameters setting:ObjectMon May 13 2019, 03:09 PM +08:00
来源: Laya2.0_api 发布时间: 20190513
...endChild(script);") } chunjine • 2017-03-17 12:43 @chunjine:private function getModuleJs(moduleName:String):* { var codeConfig:* = GameConfig.loadConfig.moduleCode[moduleName]; var moduleJs:*; if (codeConfig) { moduleJs = Laya.loader.getRes(codeConfig.url); } return moduleJs; } chunjine • 2...
来源: Laya_社区 发布时间: 20161020
... btCollisionObject undefined 导微信小程序报错window.focus is not a function 启动引擎报错 mPlugin.game_plugin_init(3); 官网示例摇一摇报错,就解决方案 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 小游戏项目 加载有中文的json文件 ...
来源: Laya_社区 发布时间: 20181128
...? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIncludingGravity.y; } 发布微信游戏...
来源: Laya_社区 发布时间: 20180322
...eoTexture.element.load(); videoTexture["_video"] = videoTexture.element; } function playVideo(){ //这里就做一些video的参数设置,比如静音、循环、播放等设置即可 //video.muted = this._muted; //video.loop = this._loop; //video.onended = this._onended; //video.onclose = this._o...
来源: Laya_社区 发布时间: 20250908
...meraMoveScript; /** * ... * @author */ public class SkyDomeSample { public function SkyDomeSample() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; var camera:Came...
来源: Laya_示例 发布时间: 20260303