大约有 2,261 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0096 秒)
Laya_社区(1668) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(52) Laya_示例(48) Laya2.0_示例(42)
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
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
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
...移动过去不再继续向前飞,直接自由落体,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
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya_示例 发布时间: 20240930
...个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
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya2.0_示例 发布时间: 20240930
...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
...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
骨骼动画drawcall合并 骨骼动画用到了mesh,1.x版本drawcall不能合并,目前游戏一个界面用了20个骨骼动画,drawcall直接飙到几百,虽然还能跑60帧,但发热量太高了。这个官方能修复下吗?我看2.x好像是可以合并了的. 还有请问下,...
来源: Laya_社区 发布时间: 20200924