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

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

491. 关于创建Sprite获取大小 [ 47%]

...取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 tree mouseHandler 怎么获取条目 怎样获取浏览器地址传过来的GET参数 Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 问题状态 最新活动: 2018-05-30 23:03 浏览: 1268 关注: 2 人 冰水blue...

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

492. 请问我网络格式加载成功后,在服务器替换image.atlas和images.png重新打开小游戏没有重新加载服务器的png,只重新加载了atlas [ 47%]

...g.png", type: Laya.Loader.IMAGE }, ];    Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded2));     RTX截图未命名.png ============================================================================== 打印了一下 https://piggy.com/images/boss.png文件,每次都从服务...

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

493. 小游戏项目 加载有中文的json文件 报错 [ 47%]

...(600, 400); var url:String = "res/json/Sheet1.json"; Laya.loader.load(url, Handler.create(null, onJsonLoaded,[url]), null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader.clearRes(url); } 微信开发者工具中报错 Unex...

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

494. 分享个美术资源做位图文本的方法。。。 [ 47%]

....JSON}, {"url":"res/playerKpiFont.png","type":Laya.Loader.IMAGE}],new Laya.Handler(that,function(){ var jsonData = Laya.loader.getRes("res/playerKpiFont.json"); var imageData = Laya.loader.getRes("res/playerKpiFont.png"); // 左中右创建的3个实例 var bp = new BPFont(jsonData,imageData,600,"le...

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

495. 1.76beta引擎库的BUG:Laya.List动态载入后,滑动时会将list框本身的滑动区域一并向滑动方向移动,会出现点击list中空白区域就无法滑动的情况 [ 47%]

...         this.list.itemRender = Item_List;         this.list.renderHandler = new Laya.Handler(this, this.onItemRender);         this.list.scrollBar.elasticBackTime = 200;         this.list.scrollBar.elasticDistance = 200;     }     open(): void     {         for(let i = 0; ...

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

496. Button属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 46%]

...载资源成功后,执行onLoaded回调方法 Laya.loader.load(skin,Laya.Handler.create(this,onLoaded)); function onLoaded(){ //创建一个Button实例 var btn = new Laya.Button(skin); //将Button添加到舞台上 Laya.stage.addChild(btn); //设置Button相关属性 btn.width = 100; btn.height =...

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

497. 小程序开放域相关 [ 46%]

...Message(onGetMessage);             Laya.loader.load(urlconfig,new Handler( null,onLoaded),null);                          function onLoaded():void {                 trace("urlconfigurlconfigurlconfigurlconfigurlconfigurlconfigurlconfigurlconfigurlconfigv");  ...

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

498. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 46%]

...源成功后,执行onLoaded回调方法 Laya.loader.load(this.skin,Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个Button实例 var btn:Laya.Button = new Laya.Button(this.skin); //将Button添加到舞台上 Laya.stage.addChild(btn); //设置Button相关属性 bt...

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

499. layabox加载fairygui发布的二进制文件报错 [ 46%]

...{ url:"res/Bag.json", type:Laya.Loader.BUFFER}              ], Laya.Handler.create(this, this.onLoaded));   Laya.core.js   调试log __proto._endLoad=function(resInfo,content){ var url=resInfo.url; //输出//////////////////////////////// console.log("url:"+url); content==null?console.log(...

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

500. ios微信clone特效会导致特效的mesh无法显示 [ 46%]

...r3(-15, 0, 0), true, false); Laya.Sprite3D.load( "res/test_mesh2.lh", Laya.Handler.create(this, function (sprite: Laya.Sprite3D): void { var clonesprite: Laya.Sprite3D = sprite.clone() as Laya.Sprite3D; scene.addChild(clonesprite) as Laya.Sprite3D; clonesprite.transform.localScale = new Laya.Vector3...

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