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

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

231. 物体每帧y方向移动,超出屏幕高度消失,可还没有超出屏幕高度就提前消失了! [ 53%]

...页面------------- _proto.run = function () { this.speed = 1; Laya.timer.frameLoop(1, this, () => { console.log(this.obstacle0.y, Laya.Browser.height); //this.obstacle0是一个精灵对象 this.obstacle0.y += this.speed; if (this.obstacle0.y > Laya.Browser.height) { this.obstacle0.removeSelf...

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

232. 在手机QQ浏览器上,在loop循环里修改inputText的位置会使inputText不显示,在电脑上和手机内置浏览器都是正常的 [ 53%]

...浏览器都是正常的 qq浏览器版本:安卓 8.1.3.3851 Laya.timer.frameLoop(100, this, function () { inputText.y = Laya.Browser.height-100; }); 2018-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w11...

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

233. MovieClip 报错 7 [ 53%]

MovieClip 报错 7 来, 你的代码, 修改 Laya.timer.frameLoop(1, this, this.timeHandelr); 一帧创建一个动画, 这个需求不过分吧?   附件 : --> 2018-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

234. laya.map.GridSprite [ 52%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

235. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 52%]

...dx; this.bgimg.speedy=speedy; console.log("funmovebg"+movetox); Laya.timer.frameLoop(speed, this, funbg);     2017-10-25 0 2 分享 微博 QZONE 微信 yinglei999 赞同来自:     var Loader = Laya.Loader;     var loaderHandler = Laya.Handler; var scronw=640; var scronh=960;      //...

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

236. 同步龙骨插槽动画方案 [ 52%]

...type, Laya.Handler.create(this, this.onSkeLoaded), 2);     Laya.timer.frameLoop(1, this, this.update); .......................................................................................................................................................................................    ...

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

237. laya.ui.Box [ 52%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

238. H5页面的骨骼动画不能显示完整,兼容性问题? [ 52%]

...Armature); this.mArmature.play(this.SWIM_RIGHT_ANI_NAME, true); Laya.timer.frameLoop(1, this, this.swim); }   在大部分浏览器都是OK的,但是在部分浏览器中,骨骼动画并不完整,动画的.sk文件也加载成功。 请问大家这个兼容性问题嘛?一直不知道怎么...

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

239. laya.particle.Particle2D [ 52%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170929

240. 射线检测-选取物体 [ 52%]

...sh = capsule.meshFilter.sharedMesh; capsule.name = "胶囊体"; Laya.timer.frameLoop(1, this, checkHit); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var point = new Laya.Vector2(); var _outHitAllInfo = new Array(); function checkHit() { //从屏幕空间生成射线...

来源: Laya_示例 发布时间: 20251209