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

大约有 469 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0064 秒)

101. Tween没效果,对于渐变相机位移? [ 66%]

...那个你说的 这里还有一个帖子 zhoupq • 2018-03-23 11:17 timer.frameLoop这个没有缓冲效果

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

102. 分享贝塞尔曲线运动 [ 66%]

分享贝塞尔曲线运动 Laya.timer.frameLoop(1, this, this.move, [0.0003])//主控制  0.0003自己调整 private testSp:Laya.Sprite;//移动物体 private counts=0; //移动        自己做条件判断停止frameLoop private move(arg) { var t = arg * this.counts var point = this.bezier(...

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

103. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 66%]

...动 不太适合我们调试代码 我们打开Floor.js 找到 Laya.timer.frameLoop(1, this, this.onLoop); 把这一行代码先给注释了 接着 我们先理一理自己的思路 我们要做玩家踩在地板上 那就要用到碰撞检测 上图中紫色的小点点是 两个物体的 坐标起...

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

104. 灯光-聚光 [ 66%]

...on = new Laya.Quaternion(); var _position = new Laya.Vector3(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQuat(spotLight.transform.position, _quaternion, _position); spotLight.transform.position = _position; va...

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

105. laya.d3.core.light.PointLight_API3.0 [ 65%]

...bleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild r...

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

106. 混合模式-Lighter [ 65%]

...tup() { createPhoenixes(); // 动态背景渲染 evalBgColor(); Laya.timer.frameLoop(1, this, renderBg); } function createPhoenixes() { var scaleFactor = Math.min( Laya.stage.width / (phoenixWidth * 2), Laya.stage.height / phoenixHeight); // 加了混合模式的凤凰 var blendedPhoenix = createAni...

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

107. laya.d3.core.BaseCamera_API3.0 [ 65%]

...bleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLaye...

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

108. Sprite3D-Sprite3D变换 [ 65%]

...ntiate(layaMonkey1, null, false, new Laya.Vector3(0.6, 0, 0))); Laya.timer.frameLoop(1, this, animate); } var _position = new Laya.Vector3(-0.6, 0, 0); var _rotate = new Laya.Vector3(0, 1, 0); var _scale = new Laya.Vector3(); var scaleDelta = 0; var scaleValue = 0; function animate() { scaleValue = ...

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

109. 最小化一定时间后心跳变成一分钟一次了 [ 65%]

最小化一定时间后心跳变成一分钟一次了 Laya.timer.frameLoop(1, this, this.run, null);   private last:number = 0;      private run() {     let now = Date.now();     console.log("fightmng run >>  " + now, " usetime:"+(now-this.last));     this...

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

110. laya.d3.core.light.SpotLight_API3.0 [ 65%]

...bleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild r...

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