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

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

351. laya.ui.TextInput [ 65%]

...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...

来源: laya_api 发布时间: 20170929

352. 在微信分享成功的回调函数里,Laya播放音效失败。 [ 65%]

...播放音乐") Laya.SoundManager.stopMusic(); //停止游戏主循环 Laya.timer.clear(this, this.onLoop); //移除舞台的鼠标移动事件 Laya.stage.off(Laya.Event.MOUSE_MOVE); }  //恢复 GameEx.prototype.resume = function () { //在循环中创建敌人 Laya.timer.frameLoop(1,this,this.onLoo...

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

353. mac下用FB打包发布测试页面,chrome浏览器看不到预期显示文字 [ 65%]

... variable is not defined. /LayaAirTest/src/LayaAirTest.as (9):warning:Laya.timer.currTimer This variable is not defined. /LayaAirTest/src/LayaAirTest.as (20):warning:Laya.stage.bgColor This variable is not defined. /LayaAirTest/src/LayaAirTest.as (22):warning:Laya.stage.addChild This variable is not...

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

354. laya.d3.core.Camera_API3.0 [ 65%]

...nMatrix projectionViewMatrix renderTarget renderingOrder scene skyRenderer timer transform url viewMatrix viewport _updateMark Methods _applyCommandBuffer _createOpaqueTexture _initialize _isLayerVisible _needRenderGamma _processActive _updateCameraRenderData addAllLayers addChild addChildAt addChil...

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

355. 有人遇到GetType 的问题吗? laya2.0 [ 65%]

...s/kahreman/laya/q3_client/trunk/bin/libs/laya.physics.js:1596:15)     at TimerHandler.__proto.run (/Users/kahreman/laya/q3_client/trunk/bin/libs/laya.core.js:8979:46)     at Timer.__proto._update (/Users/kahreman/laya/q3_client/trunk/bin/libs/laya.core.js:8717:17)     at Stage.__proto._updateT...

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

356. 照相机-3D空间转2D空间 [ 65%]

...ya.stage.addChild(new Laya.Image("../../res/threeDimen/monkey.png")); Laya.timer.frameLoop(1, this, animate); } var _position = new Laya.Vector3(); var _outPos = new Laya.Vector3(); var scaleDelta = 0; function animate() { _position.x = Math.sin(scaleDelta += 0.01); layaMonkey3D.transform.position =...

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

357. 在开启webgl模式下,每次运行texture类的getPixels方法内存都会增加 [ 65%]

...20) } } } Laya.init(400, 640, Laya.WebGL) var app=new Main.MaskDemo() Laya.timer.frameOnce(5, app, ()=>{ app.init() Laya.timer.frameLoop(2, app, app.getPixels) }) 2017-12-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

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

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

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

359. js继承模式 [ 65%]

...s.prototype.init = function() { Laya.stage.addChild(this); this.bg(); Laya.timer.frameLoop(1, this, this.loop); }; Class.prototype.bg = function() { for (var i = 0; i < 2; i++) { this.img[i] = new Laya.Image('background.png'); this.addChild(this.img[i]); } this.img[0].y = 0; this.img[1].y = -852;...

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

360. 灯光-点光 [ 65%]

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

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