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

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

1331. 【简单跑酷--JS版】---Lv.6 终篇 [ 27%]

... _proto = RunGame.prototype; //初始化 _proto.init = function(){ console.log('RunGame Init'); //背景 this.bg = new Background(); this.addChild(this.bg); //地板 this.mapFloor = new MapFloor(); this.addChild(this.mapFloor); //飞行能量条 this.flyEnergy = new Hp(Hp.HP_TYPE_ENERGY); this.flyEn...

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

1332. laya.display.Sprite_API3.0 [ 27%]

...ape 对象添加点击事件侦听。 } function onClickSprite() { console.log("点击 sprite 对象。"); sprite.rotation += 5;//旋转 sprite 对象。 } function onClickShape() { console.log("点击 shape 对象。"); shape.rotation += 5;//旋转 shape 对象。 } example import Sprite = laya.dis...

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

1333. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 27%]

...tion Client() { } Client.prototype.start = function() { // body... console.log("调用方法"); }; return Client; })(); console.log("我被加载进来了"); ``` 下面我们简单的讲解下这两段代码。 ` var script:Object = Browser.document.createElement("script");`创建一个script标签...

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

1334. 在LayaIDE中下载的运行器启动报错 [ 27%]

....os.Debug: ro.debug_level = 0x4f4c 03-19 15:01:06.046 8129-15611/? E/SQLiteLog: (284) automatic index on crash_info_summary(package_name_touched) 03-19 15:01:06.176 3111-3111/? E/Tethering: No numeric data 03-19 15:01:06.186 6882-6882/? E/PlaceHolderContentViewRenderViewAdapter: APPLOGS: configHasCh...

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

1335. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 26%]

...ion Client() { } Client.prototype.start = function () { // body... console.log("调用方法"); }; return Client; })(); console.log("我被加载进来了"); 下面我们简单的讲解下这两段代码。 var script:any = Laya.Browser.document.createElement("script");创建一个script标签。 sc...

来源: Laya3.0_文档 发布时间: 20251010

1336. 3D中摄像机绕物体旋转该如何实现? [ 25%]

...rotected AroundByMobileInput(): void { if (this.TouchCount == 1) { console.log(this.targetAngles); this.targetAngles.y -= this.GetAxisX * this.mouseSettings.pointerSensitivity; this.targetAngles.x += this.GetAxisY * this.mouseSettings.pointerSensitivity; //Range. this.targetAngles.y = this.Clamp(thi...

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

1337. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 25%]

...-6514/com.vivo.vs I/chromium: [INFO:library_loader_hooks.cc(106)] Chromium logging enabled: level = 0, default verbosity = 0 10-13 17:31:15.891 6514-6514/com.vivo.vs I/BrowserStartupController: Initializing chromium process, renderers=0 10-13 17:31:15.891 6514-6514/com.vivo.vs W/art: Attempt to remo...

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

1338. 求ShuriKenParticle3D用法 [ 25%]

...op(300, null, function () {                     console.log('8: ' + self.particleSystem.aliveParticleCount);                 });             }         }     } } 执行结果一直为0, 请问这是什么问题? 是否有更详细一些的例...

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

1339. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 25%]

...Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.clear(); this._allAgent.forEach((agent) => { agent.destination = pos; let paths = agent.getCurrentPath(); if (paths.length >= 2) { let points: any = [] paths.forEach((point) => ...

来源: Laya3.0_文档 发布时间: 20251010

1340. 官方案例里摄像机绕物体旋转脚本的问题 [ 25%]

...rotected AroundByMobileInput(): void { if (this.TouchCount == 1) { console.log(this.targetAngles); this.targetAngles.y -= this.GetAxisX * this.mouseSettings.pointerSensitivity; this.targetAngles.x += this.GetAxisY * this.mouseSettings.pointerSensitivity; //Range. this.targetAngles.y = this.Clamp(thi...

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