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

大约有 1,377 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)

1281. _calculateCacheRect函数有bug [ 47%]

...也有这个问题。)    reset() {             this.releaseContext();             this.releaseFilterCache();             this.cacheAs = "none";             this.enableCanvasRender = false;             this.userSetCache = "none";             this.cacheForFilte...

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

1282. Uncaught TypeError: Cannot read property 'regClass' of undefined [ 46%]

...Uncaught getUint16 error - Out of bounds Uncaught Can not find class Laya.Text 运行报错 Uncaught Can not find scene:GameView.scene undefined Laya2.1.0 JS调用Java PlatformClass undefined Cannot read property 'displayObject' of null 浏览器运行提示TypeError: xxx is not a function Uncaught ...

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

1283. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 46%]

... map.removeSelf() play.removeSelf() over = new GameOverUI() over.txt_score.text = "25" over.btn_restart.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(over); } hero类: (function() { function Hero(type, hp) { Hero.__super.call(this); this.fly(); } Laya.class(Hero,"Hero", Air); var _proto = H...

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

1284. prop 识别不到 [ 46%]

...IDE\resources\app\node_modules\rollup\dist\rollup.js:16065:38) at RollupContext.error (E:\LayaAirIDE\resources\app\node_modules\rollup-plugin-typescript2\dist\rollup-plugin-typescript2.cjs.js:17187:30) at lodash_3 (E:\LayaAirIDE\resources\app\node_modules\rollup-plugin-typescript2\dist\rollup-plugin...

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

1285. layaide里能运行正确,浏览器单独打开却失败 [ 46%]

...,还有在flashbuilder里运行也不行;环境搭建都根据官网,text控件也能显示出来了,现在发现是Laya.loader.getRes()为undefined导致,可是资源都预加载了的; 重要是,layaide能跑,为啥单独打开和fb里都不能跑呢?layaide有什么特殊配置...

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

1286. 层级面板说明 · LayaAir3.0文档 · LAYABOX [ 46%]

...机。 可以创建的2D节点有: 基础2D节点(Sprite、Animation、Text、SoundNode、VideoNode); UI组件(Box、HBox、VBox、Image、Clip、Button、CheckBox、Radio、RadioGroup、ComboBox、Label、TextInput、TextArea、FontClip、ProgressBar、HSilder、VSlider、List、Panel、T...

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

1287. 按时间清理Laya.pool中缓存对象, 游戏大厅缓存问题 [ 46%]

...创建新的script节点 new_element1.setAttribute("type", "text/javascript"); // new_element1.setAttribute("src", jsPAth); //LayaNative不支持 new_element1.src = jsPAth document.body.appendChild(new_element1);//添加到body节点的末尾 new_element1.onload = fun }...

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

1288. as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? [ 46%]

...th:100px; height:100px; margin-top:15px;"></div> <script type="text/javascript"> var qrcode = new QRCode(document.getElementById("qrcode"), { width : 100, height : 100 }); function makeCode (_qrchr) { qrcode.makeCode(_qrchr); } makeCode("asfasdfas5151a31fsefasefsafe"); </script>...

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

1289. 【项目分享】分享一个六角消除小游戏源码 [ 46%]

... QZONE 微信 珍惜呵护 赞同来自: Uncaught Can not find class Laya.Text    报这个错是什么情况 2021-03-22 0 0 分享 微博 QZONE 微信 Anger123 赞同来自: 我也送大家一个3D全民过山车 全民过山车-laya3d.zip 2021-03-23 0 0 分享 微博 QZONE 微信 为什么被折...

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

1290. 在UI类里调用启动类的静态函数失败了 [ 46%]

...个时间轴动画里创建的多个动画,怎么分别调用?如图 Text类中竟然没有pos函数的api~ app启动动画应该如何去掉 构造函数不能进断点 .bat脚本能调用layaIDE的相关功能吗? 使用Laya.loader.load缓存下来的文件还在res目录下吗?在编辑...

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