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

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

221. 用LayaAir引擎解析Tiled Map地图(JavaScript-2D进阶篇(JS)-扩展模块) [ 69%]

...pLoaded() this.tMap.createMap("res/TiledMap/orthogonal.json",viewRect,Laya.Handler.create(this,onMapLoaded)); function onMapLoaded(){ //将原地图放大2倍 this.tMap.scale = 2; } ``` 运行效果如图8所示。 ![图8](img/8.png) (图8) #### 2.2.2 设置地图缩放的中心点 很明显,图8...

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

222. DialogView用destroyLaya.stage.removeChild有什么区别? [ 69%]

...区别是什么? [分享]Dialog 点击边缘不关闭的 Demo示例 Laya.Handler.createnew Laya.Handler有啥区别 Dialog设置为模式窗口时关闭有问题 layaair与layabox的区别 LayaAirIDE2.0 TS 创建视图VIew编辑导出之后,src/ui/layaMaxUI.ts 并没有变化…… atlas目...

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

223. var 与 name 的详细区别是什么? [ 69%]

... 用二的幂次方图集非二的幂次方图集区别在哪? Laya.Handler.createnew Laya.Handler有啥区别 微信小游戏绘制开放域内容,字体模糊是什么原因? 关于打包图集时的图片默认属性与repeat的区别 disponedestory的区别 viewDialog区别 atl...

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

224. cocoscreator3d 与 laya3d的区别是什么呀 [ 69%]

...? var 与 name 的详细区别是什么? laya3D动画无法播放 Laya.Handler.createnew Laya.Handler有啥区别 DialogView用destroyLaya.stage.removeChild有什么区别? Laya3d自定义shader Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的...

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

225. WebglWebglCanvas区别? [ 69%]

....0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? Laya.Handler.createnew Laya.Handler有啥区别 VBOX HBOX 的文档太少了,都不知道这两个怎么用?到底box有什么区别?不是普通的容器吗?增加了什么功能呢? 问一下使用AnimationPlayer...

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

226. WXOpenDataViewer 微信开放数据域 是不是不能响应鼠标拖动事件呢? [ 69%]

...main.ts 里面 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); Laya.AtlasInfoManager.enable("fileconfig.json", Laya.Handler.create(this, this.onConfigLoaded)); 都要删掉。 内涵tv何吓...

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

227. Laya.Tween怎么运用到3D对象上? [ 69%]

...ion;Laya.Tween.to(box.potOld,{     x:1     ,y:2     ,update:new Laya.Handler(box,function(){         this.transform.position = this.potOld;     }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){     console.log("complete"); }),ConstValue.animation...

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

228. 关于Tween类多个对象同时缓动的时候过一段时间会不同步 [ 69%]

...Object(); obj["x"]=this.x; obj["y"]=this.y+num; Tween.to(this,obj,500,null,Handler.create(this,startAnimated)) } } 开始是同步的 时间长了动画会出现很大的误差 下面是不同步的时候开始同步的时候的图片   附件 : --> 2018-05-24 添加评论 免费帖 --> 分享 ...

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

229. 位图字体不显示 [ 69%]

... Supermang42 赞同来自: this.mBitmapFont.loadFont( "ziti.fnt", new Laya.Handler( this, onLoaded ) );   上面的 "ziti.fnt" 路徑錯誤,需寫完整路徑。   Example : 假設fnt檔案跟png檔案都放在res資料夾底下,那你就應該寫這樣。   this.mBitmapFont.loadFont( "res/zi...

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

230. 加载的时候动画会卡 [ 69%]

.../atlas/cont.json",type:Loader.ATLAS});         Laya.loader.load(imgArr,Handler.create(this,onAssetLoaded),Handler.create(this,onProgress,null,false));     }   (function() {     function Lload() {         Lload.__super.call(this);         this.dh();         this.btn.on(Event.MOUS...

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