大约有 490 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0171 秒)
...Circular dependency: ui list 里面的元素不能点击两次 鼠标滚轮滚动事件 图片添加点击事件 有的不生效 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2017-11-22 16:48 浏览: 1821 关注: 2 人 sfsmmc • 2017-11-22 16:55 不...
来源: Laya_社区 发布时间: 20171122
...on(value: number): void Defined in laya/d3/physics/PhysicsComponent.ts:235 滚动摩擦力。 Returns number Defined in laya/d3/physics/PhysicsComponent.ts:239 滚动摩擦力。 Parameters value: number Returns void simulation get simulation(): PhysicsSimulation Defined in laya/d3/physics/PhysicsCo...
来源: Laya3.0_api 发布时间: 20231115
...== 美丽的分割线 ======================= 前节教程完成了循环滚动背景的实现,本节我们将运动的地板加上 下图是我们要用到的资源 地板素材是这样的 宽度为960 在游戏里面我目前将它分成32份 也就是由30个小的组成 我们把素材复...
来源: Laya_社区 发布时间: 20160728
...// 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(...
来源: Laya_社区 发布时间: 20170525
...vent.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 鼠标滚轮滚动事件 斜角透视的感觉怎么弄出来呀?? 请问如何获取鼠标在某个元素内 相对于这个元素的坐标 问题状态 最新活动: 2017-10-18 20:04 浏览: 1457 关注: 3 人
来源: Laya_社区 发布时间: 20171018
...mponent.rollingFriction Defined in laya/d3/physics/PhysicsComponent.ts:235 滚动摩擦力。 Returns number Inherited from PhysicsTriggerComponent.rollingFriction Defined in laya/d3/physics/PhysicsComponent.ts:239 滚动摩擦力。 Parameters value: number Returns void simulation get simulation():...
来源: Laya3.0_api 发布时间: 20231115
...// 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(...
来源: Laya_社区 发布时间: 20170525
...mponent.rollingFriction Defined in laya/d3/physics/PhysicsComponent.ts:235 滚动摩擦力。 Returns number Inherited from PhysicsTriggerComponent.rollingFriction Defined in laya/d3/physics/PhysicsComponent.ts:239 滚动摩擦力。 Parameters value: number Returns void simulation get simulation():...
来源: Laya3.0_api 发布时间: 20231115
...mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 laya3D动画无法播放 问题状态 最新活动: 2019-06-27 19:34 浏览: 2348 关注: 3 人 Zero • 2019-06-27 20:09 下载了2.1.0bate的类库后, 只要且换到2.1.0的类库 libs 下就会多出两个文件...
来源: Laya_社区 发布时间: 20190627
...动) class TextUI extends ui.TestUI { constructor() { super(); //设置可滚动 this.container.vScrollBarSkin = ''; this.init(); } private init() { for (var i = 0; i < 10; i++) { var item = new Item(); item.pos(0, i * (item.height + 1)); this.container.addChild(item); } } } 3,加载资源,...
来源: Laya_社区 发布时间: 20180810