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

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

71. 针对2.0.0 beta5 setLoadingPage 做增强 [ 57%]

...Page let loadPage = new LoadPage() loadPage.preload() this.getChildByName('text').on(Laya.Event.CLICK, this, function () { // 切换打开场景方式 查看效果不同 loadPage.openScene('page2.scene', this.getUserInfo, true, [1, 2, 3]) // loadPage.openScene2('page2.scene', this.getUserInfo, true,...

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

72. 多线程Worker · LayaAir3.3 · 引擎文档 · LAYABOX [ 56%]

..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","../atlas/comp.json"); xmlreq.send() }, false); 这个例子是在worker中进行加载文件,加载完...

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

73. 构建andorid工程后,在AndoridStuido中模拟器调试运行出现如下问题,然后打不开APP [ 56%]

...r "/data/local/tmp/com.mygame.Shjy3Android" WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix. pkg: /data/local/tmp/com.mygame.Shjy3Android Success Launching application: com.mygame.Shjy3Android/demo.MainActivity. DEVICE SHELL COMMAND: am star...

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

74. Laya.loader.load加载位图字体 [ 55%]

...e if (type==="font"){//这里,启用webgl后,HTMLImage.create返回的是Texture2D,不是HTMLImage,data上没有_source这个属性 //导致重复加载图片,走不到else里面,if的判断是否应该改为 !this._data             if (!data._source){              ...

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

75. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 55%]

..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加...

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

76. 多线程worker(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 54%]

..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加...

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

77. 多线程worker(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 54%]

..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` ​ 这个例子是在worker中进行加载文件,...

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

78. poly组件是各种坑 [ 53%]

...ive2 打包android平台 报错 btCollisionObject undefined 请问如何让textinput组件输入密码的时候显示*号? List组件 repeat(x/y)设置问题 寻路导航示例中添加Laya.PathFind组件报异常 自定义官方组件报错,有无官方例子下载? laya有RichText的组件...

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

79. LAYABOX游戏实时语音之APP版本 [ 53%]

...PlayCompleteNotify; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Environment; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.util.Log; import org.json.JSONException; import org.json.JSONO...

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

80. laya.display.Text_API3.0 [ 47%]

...Protected All Inherited Externals Only exported Menu Globals "laya/display/Text" Text Class Text Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上显示正...

来源: Laya3.0_api 发布时间: 20231115