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

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

171. 无法正常运行官网中的示例代码 [ 85%]

...码:http://ldc.layabox.com/index.p ... 3D622 控制台报错: Failed to load resource: net::ERR_FILE_NOT_FOUND [warn]Retry to load: D:/demo/bin/res/atlas/comp.json Failed to load resource: net::ERR_FILE_NOT_FOUND [error]Failed to load: D:/demo/bin/res/atlas/comp.json 2017-03-28 添加评论 免...

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

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

...失败了 这是我的启动类 // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.stage.bgColor = "#123456"; Laya.loader.load([ { url: "res/beijing/beijing2.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas"...

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

173. Chrome和layaAir调试,大部分点击事件没有反应了 [ 85%]

...ug。 Chrome控制台有警告,描述:Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952 但是好像之前也有,所以不知道这是...

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

174. 代码模式的快捷键设置(ActionScript-IDE篇(AS3)-代码模式基础) [ 85%]

...入行 Insert line above | | `Ctrl+Shift+\` | 跳到匹配的括号 Jump to matching bracket | | `Ctrl+] / [` | 缩进/缩进行 Indent/outdent line | | Home | 转到行首 Go to beginning of line | | End | 转到行尾 Go to end of line | | `Ctrl+Home` | 转到文件开头 Go to beginning of file |...

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

175. Tween缓动在移动端效果的问题 [ 85%]

...果看起来有卡顿,不知道怎么回事? 代码如下: TimeLine.to(btn2, {rotation:5}, 1500).to(btn2, {rotation:0}, 1500).to(btn2, {rotation:-5}, 1500).to(btn2, {rotation:0}, 1500).play(0, true); 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

176. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 84%]

...   Deveco Studio 构建日志:/Applications/DevEco-Studio.app/Contents/tools/node/bin/node /Applications/DevEco-Studio.app/Contents/tools/hvigor/bin/hvigorw.js --mode module -p module=entry@default -p product=default -p requiredDeviceType=default assembleHap --analyze=normal --parallel --incremen...

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

177. 关于旋转的问题 [ 84%]

关于旋转的问题 使用tween.to写的旋转在旋转过程中会放大,代码如下 tween.to(ima,{skewX:150},5000) tween.to(ima,{skewY:-150},5000} 2017-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 ...

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

178. laya.utils.TimeLine_API3.0 [ 84%]

...类。 Hierarchy EventDispatcher TimeLine Index Properties scale Accessors total Methods addLabel destroy event from gotoLabel gotoTime hasListener off offAll offAllCaller on once pause play removeLabel reset resume to from to Properties scale scale: number = 1 Defined in laya/utils/TimeLine.ts:45 ...

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

179. timeline 类动作节点回调 [ 84%]

...=TimeLine   function createTimerLine() { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0).to(target,{x:450, y:300, scaleX:0.2, scaleY:1, alpha:1},2000,null,0) .addLabel("turnLeft",0).to(target,{x:100, y:300, scaleX:1, scaleY:0.2,...

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

180. Cannot enlarge memory arrays. [ 84%]

...ge memory arrays. Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher valu...

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