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

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

61. laya.sprite精灵无缝拼接地图,会出现黑线跟白线,使用laya的2.0.1beta版本 [ 72%]

...打地鼠 AS、JS、TS版本 Demo! 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现...

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

62. Uncaught TypeError: Class constructor Component cannot be invoked without 'new' [ 72%]

Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 官方示例发布微信小游戏,在开发者工具中报错 附件 : --> Demo.zip 2020-05-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

63. Uncaught Can not find class laya.html.dom.HTMLDivElement [ 72%]

...发起人 137*****591 相关问题 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 真机环境找不到window---cant find variable: window stack 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: pla...

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

64. Spine适配版(JavaScript-LayaAir基础篇(JS)-动画基础) [ 72%]

...emplet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skeleton.scal...

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

65. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 72%]

...素始终保持在最底部显示? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 加载到舞台的3D模型不显示贴图 有无类似flashfirebug、firebug的H5 canvas Inspector? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务...

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

66. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 71%]

...nd.loader.BasicLoader;   import flash.events.Event; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.utils.ByteArray; import flash.utils.Dictionary;   class VersionManager {     public function VersionManager(ref:Function)     {         this.ref = ref;   ...

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

67. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 71%]

...static stat:boolean=false; constructor(){ } }并提示错误: TypeScript error: src/gameconfig.ts(11,27): Error TS2552: Cannot find name 'script'. Did you mean 'WScript'? 2018-10-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

68. error TS2339: Property 'delta' does not exist on type 'Event'. [ 71%]

error TS2339: Property 'delta' does not exist on type 'Event'. IDE版本号:1.7.17 2018-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: 你查看下你的代码是否有问题那...

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

69. [LayaAirIDE3]xcode切入切出声音不播放 [ 71%]

...rl);             if (!config?.url) {                 console.error(`SoundManager: 无效的BGM ID [${url}]`);                 return;             }             urlStr = config.url;         } else             urlStr = url;          if (isBreak &&am...

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

70. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 71%]

...s,Laya.Handler.create(this,this.onSuccess),Laya.Handler.create(this,this.onError)); } } private showMessage():void{ var tex:Laya.Text = new Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "...

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