大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0238 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...少,Laya.stage.scaleMode使用哪种模式,Laya.stage.on(Event.RESIZE, this, onResize);如何处理比例问题? 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: ...
来源: Laya_社区 发布时间: 20180313
...on (_super) { function GameStart() { GameStart.super(this); Laya.stage.on(Laya.Event.KEY_DOWN,LayaSample,Test); } function Test(e){ console.log(e.keycode); } 按下按键后一直输出undefined,在入口类...
来源: Laya_社区 发布时间: 20180208
...age 05-31 15:57:02.604 17874 17959 E jswrapper: ERROR: Uncaught TypeError: this.drawImage is not a function, location: /data/user/0/com.nearme.instant.platform/app_game/app/com.fuck.module/1/libs/laya.core.js:0:0 05-31 15:57:02.604 17874 17959 E jswrapper: STACK: 05-31 15:57:02.604 17874 17959 E jsw...
来源: Laya_社区 发布时间: 20190531
...的处理 var Load_ = (function (_super) { function Load_() { Load_.super(this); } //注册类 Laya.class(Load_, "Load_", _super); var _proto = Load_.prototype; _proto.run_Fast = function () { console.log("逻辑处理"); } return Load_; })(Laya.Sprite);我的代码,但是下面的继承位置Laya...
来源: Laya_社区 发布时间: 20180705
...,还是加载失败了。 Laya.loader.create(urls, Laya.Handler.create(this, onComplete, [urls]), null, Laya.Scene); 跟Sprite3D有区别吗 188*****949 • 2018-07-26 11:31 这个问题还挺难搞的,因为只在我打包到远端加载的时候才会出问题,本地加载是ok的。到远...
来源: Laya_社区 发布时间: 20180725
... 0; } export class TestClass2 extends TestClass { constructor() { super(); this.type = 1; } }测试代码如上所示,打印结果是:0,0,true,预期结果是:0,1,false才对。 获取TestClass2实例时,返回的是TestClass的实例对象,看了下源码,发现是获取类唯...
来源: Laya_社区 发布时间: 20250819
...过WAGame.js:14 Wechat Lib:2.0.8, 2018.5.17 17:08:32 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM698:1 gameThirdScriptError Unexpected token in JSON at position 134;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 134 at JS...
来源: Laya_社区 发布时间: 20180531
...;t.bitmap&&t.source){var i=t.uv,n=t.bitmap.width,s=t.bitmap.height;this.drawImageS(t.bitmap.source,i[0]*n,i[1]*s,(i[2]-i[0])*n,(i[5]-i[3])*s,t.offsetX,t.offsetY,t.width,t.height,e)}} 不过乱七八糟的。。。我本来想做场景过渡的,还是自己写算了。。。 2017-11-18 0...
来源: Laya_社区 发布时间: 20170405
...pm ERR! npm ERR! Failed at the gifsicle@4.0.1 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-02-11T...
来源: Laya_社区 发布时间: 20200211
...../../"; Laya.loader.load("res/particles/GravityMode.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); })(); function onAssetsLoaded(settings) { data = { "minStartColor": { "0": 1, "1": 0, "2": 0, "3": 1 }, "boxEmitterVelocity": { "0": 0, "1": 0, "2": 0 }, "minHorizontalStartRadian": ...
来源: Laya_社区 发布时间: 20180109