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

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

1131. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 66%]

...n` 缓动类用以实现目标对象属性的缓动,例如目标对象的x或y轴的缓动距离等目标值设置,以及缓动开始、停止、清理等设置。更多Tween的API `Ease`类定义了大量的缓动函数,以便实现 `Tween` 动画的具体缓动效果。LayaAir引擎的Tween...

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

1132. 使用官方文档中qrcode生成二维码的代码,打包APP后无效 [ 66%]

...所以我暂时先不判断Android版本规避一下(因为项目都是4.X以上甚至5.X以上了),正解应该是1   // if (typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3)) { if (typeof this._oDrawing.makeImage == "function") {   2020-04-1...

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

1133. 想要找设置相对坐标后的view全局坐标,发现有问题,请教一下. [ 66%]

...坐标位置, 以下为代码: var local_point = new Point(view.userPanel.x, view.userPanel.y); var userPanel_stage_point = view.userPanel.parent.localToGlobal(local_point);    这里的view就是图中背景, 而userPanel就是图中红色框   而view在UI编辑器里,设置的也是相对另...

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

1134. matter.jsr Render下可以移动视图窗口 用LayaRender则没反应 [ 66%]

... var carpos = Car.bodies[1].position; var canvas = render.canvas; var context = render.context; var world = {minX: -globalWidth, maxX: globalWidth, minY: -globalHeight, maxY: globalWidth}; context.setTransform(1,0,0,1,0,0); context.clearRect(0, 0, canvas.width, canvas.height); //Clamp the camera pos...

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

1135. spine适配版微信开发者平台报错 [ 66%]

...  at e.readSkeletonData (spine-core-3.8.min.js:1)     at SpineTemplet_3_x.parseSpineAni (laya.spine.js:656)     at SpineTemplet_3_x.loop (laya.spine.js:638)     at TimerHandler.run (laya.core.js:22293)     at Timer._update (laya.core.js:22144)     at Stage._updateTimers (laya.core.js:1771...

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

1136. 角色碰撞器添加复合型碰撞形状,报错Qt[a[((a[(t >> 2)] + 8) >> 2)]] is not a function [ 66%]

...ler = plane.addComponent(Laya.CharacterController);  let collider_shape_box = new Laya.BoxColliderShape(2.5, 0.8, 0.8); collider_shape_box.localOffset.x = -0.5;  let collider_shape:Laya.CompoundColliderShape = new Laya.CompoundColliderShape(); collider_shape.addChildShape(collider_shape_box);  ch...

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

1137. 请问laya2.0 2d物理有射线检测功能吗 [ 66%]

...线的起点 // * point2 射线的终点 // 回调函数: // function(fixture:b2Fixture,point:b2Vec2,normal:b2Vec2,fraction:Number):Number // * fixture 定制器 // * point 碰撞点 // * normal 碰撞到的面的法线 // * fraction 起点到终点的距离*fraction=起点到碰撞点的距离 //...

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

1138. laya.display.Animation [ 66%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Gra...

来源: Laya2.0_api 发布时间: 20190513

1139. 发布的时候,报错 [ERROR] Cannot read property 'dom_parser' of undefined [ 66%]

...' of null, location: /data/user/0/com.vivo.hybrid/app_resource/com.chenxing.vivominigame/jsfile:///C:\Users\74741\AppData\Roaming\Tencent\QQTempSys\OOY5$4OW5H`8`9%(9$)T67M.gifndle.js:0:0        [ERROR] (/opt/jenkins/workspace/vivo_vfile:///C:\Users\74741\AppData\Roaming\Tencent\QQ\Temp\%W...

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

1140. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 66%]

...his.body.height = config[this.type].height onLoad(){ Tween.to(this.body, { x: (config[this.type].width / 2) + 10, y: (config[this.type].heightp / 2) + 45 }, 500,callback) } 2017-11-14 0 0 分享 微博 QZONE 微信 callback 赞同来自: 你的callback 是一个Function?? 根据api callback必...

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