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

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

231. 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds [ 57%]

... 赞同来自: 龙印 已经解决:: Laya.loader.load("ani/jingbubeipi.sk",Handler.create(this,asd),null,Loader.BUFFER);  在预加载动画时这样在后面参数加上loader.buffer; 2018-09-13 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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

232. Texture自动恢复还是存在另外的问题 [ 57%]

...itmap.destroyed)&& url){             Laya.loader.load(url,Handler.create(this,function(bitmap){                 _$this._bitmap=bitmap;             }),null,"htmlimage",1,false,null,true);         }     }   Laya.loader.load的cache参数为什么设置...

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

233. 微信小游戏利用开放域好友关系链做排行榜 [ 57%]

...yOpenDataContext 5.主域这边代码: import Label = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader;  class GameBootstrap{      public constructor(){         this.init();     }      private init():void{         //初始化微信小游戏   ...

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

234. 物理刚体(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 56%]

...`typescript //加载模型 Laya.Sprite3D.load("Conventional/shoot.lh",Laya.Handler.create(this,function(sp){ //获取到Meshsprite3d var cube = scene.addChild(sp.getChildAt(0); //获取刚体 var cubeRigid = cube.getComponent(Laya.Rigidbody3D); })); ```

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

235. Animation 下的Event.COMPLETE 回调 [ 56%]

...s原生回调问题 Laya.loader.create 进度回调函数执行两次 Laya.Handler.create 加载图片回调参数问题 Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 本人想做个批量加载json文件...

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

236. bitmapFont.loadFont()加载多个地址导致位图输出重 [ 56%]

...tmapFont = new BitmapFont(); var url=urls[i]; bitmapFont.loadFont(url, new Handler(this, this.onFontLoaded, [bitmapFont,value])); } private onFontLoaded(bitmapFont: BitmapFont,value1:string):void { bitmapFont.setSpaceWidth(10); Text.registerBitmapFont(this.fontName, bitmapFont); var txt: Text = new ...

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

237. Maximum call stack size exceeded [ 56%]

...影响后续流程     Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION);     }       onVersionLoaded() {     //激活大小图映射,加载小图的时候,如果发现小图在大图合集里面,则优...

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

238. 高级应用-Laya3D与网页混合 [ 56%]

... import laya.events.Event; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; public class Laya3DCombineHtml { public function Laya3DCombineHtml() { __JS__("var div = document.createElement('div')"); __JS__("div.innerHTML = '此内容来...

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

239. laya.ui.Dialog [ 56%]

...方向中心线的距离(以像素为单位)。 View  closeEffect : Handler 关闭对话框效果,可以设置一个效果代替默认的关闭效果,如果不想有任何效果,可以赋值为null 全局默认关闭效果可以通过manager.closeEffect修改 Dialog  closeHandler : Han...

来源: Laya2.0_api 发布时间: 20190513

240. 淘宝创意互动小程序如何加载外部资源 [ 56%]

...Scene3D.load('http://47.98.192.87/pages/index/3dres/scene/Sample.ls', Laya.Handler.create(this, function(_scene:Laya.Scene3D){ //这里打印出_scene不存在。 that._scene3D = _scene; Laya.stage.addChild(_scene); }));

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