• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,614 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0058 秒)

1451. 发现TimeLine的一些问题,像是BUG [ 45%]

...ya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 Laya.stage.bgColor="#353535"; sp1=createSprite(50,50);//创建方块1 sp2=createSprite(250,50);//创建方块2 sp3=createSprite(450,50);//创建...

来源: Laya_社区 发布时间: 20161207

1452. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 45%]

...布功能生成 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); ....... ``` 在GameUI中使用我们的自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(Primitiv...

来源: Laya2.0_文档 发布时间: 20210715

1453. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 45%]

...item.size; items.push(item); var progressHandler = progress ? Laya.Handler.create(null, loadProgress, [item], false) : null; var completeHandler = (complete || progress) ? Laya.Handler.create(null, loadComplete, [item]) : null; this.load(item.url, completeHandler, progressHandler, item.type, item.pr...

来源: Laya_社区 发布时间: 20171226

1454. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 45%]

...rInfoProto; var p: protoAll.com.bee.protobuf.ClimbingTowerInfoProto = pCls.create(); p.curId = 10; p.isSecondPass = true;   用了第三方库protobufjs。 protoAll.d.ts是proto打包出来的proto类文件,在vscode中TS项目测试过可以正常使用。  我已经生成出js和.d.ts代码了...

来源: Laya_社区 发布时间: 20190228

1455. native 1.0.2 连不上wss [ 45%]

...TICE: Compiled with OpenSSL support NOTICE: Doing SSL library init NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 on NOTICE: lws_context_init_client_ssl: doing cert filepath NOTICE: Loaded client cert /var/mobile/Containers/Data/Application/191B3AE2-4606-48EF-932D-E1D1A59B5773/Library/C...

来源: Laya_社区 发布时间: 20181018

1456. 微信小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 45%]

...Cube.lh").then((res: Laya.PrefabImpl) => { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(() => { Laya.loader.load("sub2/Sphere.lh").then((res: any) => { let sp3 = res.create(); this.scene3d...

来源: Laya3.0_文档 发布时间: 20251010

1457. 无法触发浏览器文件上传框 [ 45%]

...structor() { Laya.init(200, 300); Laya.loader.load(this.skin, Laya.Handler.create(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); } /** * 创建btn */ private createBtn(skin: string): Laya.Button { let button = new Laya.Button(skin, '上...

来源: Laya_社区 发布时间: 20170511

1458. 动画-旧版骨骼动画 [ 45%]

...id { Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(this, function (): void { this.changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen/ui/button.png", "切换动作")) as Laya.Button; this.changeActionButton.size(160, 40); this.changeActionBut...

来源: Laya_示例 发布时间: 20251219

1459. 使用滤镜报错 [ 45%]

...AYA/PFX12/H5_SHZ/bin/libs/laya.core.js:23986:23) at Function.SubmitTexture.create (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:23049:18) at WebGLContext2D.__proto._drawTextureM (file:///E:/FS_Project/trunk/LAYA/PFX12/H5_SHZ/bin/libs/laya.core.js:21451:26) at WebGLContext2D.__...

来源: Laya_社区 发布时间: 20170103

1460. 请教下微信小游戏的内存和数据缓存? [ 45%]

...ader如何强制加载一个文件,避免浏览器的缓存 Animation 的createFrames 使用已经加载的图集缓存动画失败 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那...

来源: Laya_社区 发布时间: 20180120