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

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

381. TiledMap地图 · LayaAir3.0文档 · LAYABOX [ 51%]

...ale(0,0); //将原地图放大3倍 this.tMap.scale = 3; Laya.stage.on(Laya.Event.RESIZE,this,this.resize); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.resize(); } //地图加载完成的回调 private completeHandler(e: any...

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

382. laya.ui.CheckBox [ 50%]

...ll Classes | Index | Frames No Frames CheckBoxProperties | Methods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显...

来源: laya_api 发布时间: 20170929

383. laya.display.Input [ 50%]

... All Classes | Index | Frames No Frames InputProperties | Methods | Events | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框...

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

384. matter.js mouseconstraint在微信小游戏中无效 [ 50%]

...中mouseConstraint无法拖拽刚体,ide里是正常的。添加Matter.Events.on(mouseConstraint, 'mousedown')测试,微信小游戏里有响应,但e.mouse里的参数无效 chrome调试输出mouse参数正常。  微信小游戏里参数NaN。 2018-05-20 0 0 分享 微博 QZONE 微信 为什...

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

385. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 50%]

...ll   附Demo。   想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最后一...

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

386. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 50%]

... | Index | Frames No Frames ShuriKenParticle3DProperties | Methods | Events | Constants Packagelaya.d3.core.particleShuriKenClasspublic class ShuriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object ShuriKenParticle3D 3D粒子。 P...

来源: laya_api 发布时间: 20170929

387. 一个简单的bug请官方人自己测试一下_带示例代码 [ 49%]

.../测试崩溃代码结束 }同样看看laya2.0的项目 onTipClick(e: Laya.Event): void { //测试崩溃代码 var a = undefined; var b = a.id; //点击游戏界面.虽然有报错,但是不会卡死游戏进程 //测试崩溃代码结束 }两种完全不一样的效果, 2.0不会卡死.. 这时你...

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

388. 怎么获取手机相册内容 [ 49%]

...aAir下如何获取图集下的小图资源? 怎么获取对象的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2018-05-29 20:11 浏览: 1177 关注: 2 人 Laya_Aaron • 2018-05-29 20:11 这是来自官网的文档,地址https://ldc.layabox.co...

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

389. laya2.0里bundle.js删除之后为什么不会重新生成了,改原来的代码又不生效 [ 49%]

...与内容相关的链接 提交 1 个回复 嘿哈 赞同来自: 出错了:events.js:163 throw er; // Unhandled 'error'  Error: Cannot find module '../../release/wxgame/js/bundle' from 'E:\layaSrc_200\laya200_test\xxxxxxx\src\gameParts' at D:\LayaAirIDE_200_beta\resources\app\node_modules\browser-r...

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

390. 物理引擎-Slingshot [ 49%]

...useConstraint, ground, pyramid, ground2, pyramid2, rock, elastic]); Matter.Events.on(engine, 'afterUpdate', function() { if (mouseConstraint.mouse.button === -1 && (rock.position.x > 190 || rock.position.y 190 || rock.position.y 190 || rock.position.y < 430)) { rock = Matter.Bodies.polygon(170, 450,...

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