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

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

2601. 文字在框内滑动、滚动文本 [ 94%]

... 内容里加粗的部分如果知道是什么意思可以说一下    Laya.init(800,800,Laya.WebGL); creatText(); function creatText(){      this.txt=new Laya.Text();      this.txt.overflow=Laya.Text.SCROLL;//必须是SCROLL才能实现滑动      this.txt.text="=========================...

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

2602. 真机上随机报错 [ 94%]

...上随机报错 JS onFrame error 2021-12-01 17:08:49.363 11766-11918/? I/LayaBox: alert=出错啦,请把此信息截图给研发商 RangeError: Array buffer allocation failed http:111111/.com/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array(this._...

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

2603. laya加载k帧特效报错AnimationClipParser02:unknown property name. [ 94%]

laya加载k帧特效报错AnimationClipParser02:unknown property name. 特效做的k帧特效加载出错:throw new Error("AnimationClipParser02:unknown property name."); 粒子系统做的特效使用正常 2018-04-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...

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

2604. laya.d3.component.animator.AnimatorPlayState_API3.0 [ 94%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorPlayState" AnimatorPlayState Class AnimatorPlayState AnimatorPlayState 类用于创建动画播放状...

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

2605. websocket无法连接 [ 94%]

websocket无法连接 this.socket = new Laya.Socket(); //这里我们采用大端 this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.connectByUrl("ws://"+host+":"+port+"/hoopster"); //建立连接 this.socket.on(Laya.Event.OPEN, this, onOpen); this.socket.on(Laya.Event.MESSAGE, this, onReceive)...

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

2606. 添加或修改物理ChainCollider属性points时,报错 [ 94%]

添加或修改物理ChainCollider属性points时,报错 版本LayaAirIDE 2.0.0beta4 情况1:代码添加碰撞线报错 var chains:Laya.ChainCollider=new Laya.ChainCollider(); chains.points="25,25,50,50"; this.sprite.addComponent(chains); 情况2:修改已有ChainCollider属性points时报...

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

2607. Laya 2.0 beta4.0 鼠标移动导致内存泄漏 [ 94%]

Laya 2.0 beta4.0 鼠标移动导致内存泄漏  按住鼠标 左右移动 移动2分钟左右 通过chrome Memory->Comparison  可以看到TouchList,TouchEvent  随着时间越长会越多 游戏也越来越卡(因为触发了gc) 这个是完全模拟我们游戏中的环境!(不是因为无...

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

2608. Laya.timer.once 嵌套 的问题 [ 94%]

Laya.timer.once 嵌套 的问题 layaair 1.7.7beta   Laya.timer.once(800, this, function () { Laya.SoundManager.playSound("sound/readygo.mp3", 1, Laya.Handler.create(this, this.playReadyComp)); }) private playReadyComp (){ Laya.timer.once(800, this, function () { Laya.SoundManager.playMusic('sound...

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

2609. laya AS项目编译时能不能将laya部分的js和逻辑代码的js分开 而不是合成main.max.js [ 94%]

laya AS项目编译时能不能将laya部分的js和逻辑代码的js分开 而不是合成main.max.js 2018-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 目前不能。 2019-04-03...

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

2610. 微信小程序打包,提示“laya is not defined” [ 94%]

微信小程序打包,提示“laya is not defined” 微信开发工具堆栈:(unknown) ReferenceError: laya is not defined     at code.js:11708     at code.js:11720     at code.js:18226     at require (WAGame.js:11)     at WAGame.js:11     at game.js? [sm]:4     at require (WAGa...

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