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

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

131. LAYABOX游戏实时语音之APP版本 [ 50%]

...456"; private static String mChatRoomId = ""; private String mMsgContent = null; private String mStoragePath = null; private boolean mAudioDownloaded = false; private long mRecvAudioMsgId = 0; private String mRecvAudioPath = null; private String mSendAudioPath = null; private long mPTTStartTime = 0;...

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

132. 发布微信小游戏,sprite的graphics.drawPoly安卓平台会引起花屏 [ 49%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 LayaPlayer在x86ABI的安卓模拟器中崩溃 问题状态 最新活动: 2022-11-17 14:58 浏览: 7328 关注: 2 人 layabox小高 • 2022-11-17 15:08 您好,已经复现了,后续结果会在这里...

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

133. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 49%]

...Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("onLoaded"); } 我们刷新页面看看有什么效果 如下图所示 我...

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

134. Layabox web 复制一段文字到剪贴板 [ 48%]

...AppConfirm = document.getElementById("AppConfirm"); if (this.AppConfirm == null) { this.AppConfirm = document.createElement("div"); document.body.appendChild(this.AppConfirm); this.AppConfirm.id = "AppConfirm"; }  this.modlueDiv = document.getElementById("modlue"); if (this.modlueDiv == null) { thi...

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

135. 性能测试-虫子(慎入) [ 48%]

...ler.create(this, onTextureLoaded)); } private function onTextureLoaded(e:*=null):void { maggotTexture = Laya.loader.getRes(texturePath); initMaggots(); Laya.timer.frameLoop(1, this, animate); } private function initMaggots():void { var maggotContainer:Sprite; for (var i:int = 0; i wb.x + wb.width) x...

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

136. 2D物理-复合碰撞器 [ 47%]

... Sprite; private totalBox = 200; private label: Label; Main: typeof Main = null; constructor(maincls: typeof Main) { this.Main = maincls; Laya.Config.isAntialias = true; Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Stat.show(); Physics.enable({ gravity: 0 }); PhysicsDebugDraw.enable(...

来源: Laya2.0_示例 发布时间: 20260106

137. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 47%]

...Text.y = 300; //Tween.from(letterText, { y : 100 }, 3000, Ease.elasticOut, null, i * 1000);//注释本行改为将Tween.from改变为Tween.to Tween.to(letterText, { y : 100 }, 3000, Ease.elasticOut, null, i * 1000); ``` 运行效果如动图3所示 ![动图3.gif](img/3.gif)(动图3) 结合代码...

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

138. 性能测试-虫子(慎入) [ 47%]

...ler.create(this, onTextureLoaded)); } private function onTextureLoaded(e:*=null):void { maggotTexture = Laya.loader.getRes(texturePath); initMaggots(); Laya.timer.frameLoop(1, this, animate); } private function initMaggots():void { var maggotContainer:Sprite; for (var i:int = 0; i wb.x + wb.width) x...

来源: Laya2.0_示例 发布时间: 20260106

139. 动画-旧版骨骼动画 [ 47%]

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

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

140. 用LayaAir引擎解析Tiled Map地图(ActionScript-2D进阶篇(AS3)-扩展模块) [ 46%]

..."res/TiledMap/orthogonal.json",viewRect, Handler.create(this,onMapLoaded), null, gridSize) ``` ### 3.3 合并图层 #### 3.3.1 开启合并图层 当TiledMap里有多个图层时,开启合并图层的属性enableMergeLayer,可以将图层合并,会对性能有所提高。 开启的方式为:...

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