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

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

451. laya.ui.ProgressBar_API3.0 [ 82%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ProgressBar" ProgressBar Class ProgressBar ProgressBar 组件显示内容的加载进度。 example 以下示例代码,创建...

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

452. laya.ui.HSlider_API3.0 [ 82%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/HSlider" HSlider Class HSlider 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值...

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

453. laya.ui.VSlider_API3.0 [ 82%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/VSlider" VSlider Class VSlider 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值...

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

454. 怎么把matter物理世界的左边界和右边界连在一起 [ 82%]

...移动过去不再继续向前飞,直接自由落体,if(this.ball.position.x<1) { this.ball.position={x:790,y:this.ball.position.y} } if(this.ball.position.x>799) { this.ball.position={x:10,y:this.ball.position.y} } 请问谁有什么刚好的办法实现我需要的这个效果 2018-06-20 添...

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

455. DOM元素-表单输入 [ 82%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

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

456. 2.0版本可用的CameraMoveScript.ts [ 81%]

...个2.0,跟示例里效果一样的文件:   /** * ... * @author */ export class CameraMoveScript extends Laya.Script {      /** @private */     protected _tempVector3: Laya.Vector3 = new Laya.Vector3();     protected lastMouseX: number;     protected lastMouseY: number;    ...

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

457. UI-RefreshList [ 81%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

来源: Laya2.0_示例 发布时间: 20240930

458. 在线急等,发现你们这个编译器一个bug,不能实现负负得正,昨天明明解决了,过了一会又不行了,怎么回事 [ 81%]

...66189 赞同来自: // 下落 _proto_.moveDownBall = function(){ this.ball.x -= this.vx; this.ball.y += this.vy; console.log("111111"); this.vy *= 0.99; this.vy += 0.25; console.log("222222"); if (this.ball.y + this.vy >= this.img1 ||this.ball.y + this.vy <= 0) { this.vy = -this.vy; console.lo...

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

459. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 81%]

...rotation旋转之后检测不了碰撞   附上代码  class FishPonds extends Laya.Sprite { public are: Laya.Rectangle = new Laya.Rectangle(0, 0, 60, 30); constructor() { super(); var _fish: Laya.Sprite = new Laya.Sprite() _fish.graphics.drawRect(this.are.x, this.are.y, this.are.width, this.are.h...

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

460. 骨骼动画drawcall合并 [ 81%]

骨骼动画drawcall合并 骨骼动画用到了mesh,1.x版本drawcall不能合并,目前游戏一个界面用了20个骨骼动画,drawcall直接飙到几百,虽然还能跑60帧,但发热量太高了。这个官方能修复下吗?我看2.x好像是可以合并了的. 还有请问下,...

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