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

大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)

1031. LayaAirIDE_1.7.9_beta.zip was not found on this server. [ 87%]

LayaAirIDE_1.7.9_beta.zip was not found on this server. 如圖。   附件 : --> 2017-08-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 清理下浏览器缓存,重新下载一遍...

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

1032. 运动刚体(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 87%]

...op事件 private onKeyDown():void { Laya.KeyBoardManager.hasKeyDown(87) && this.kinematicSphere.transform.translate(new Laya.Vector3(0, 0, -0.2));//W Laya.KeyBoardManager.hasKeyDown(83) && this.kinematicSphere.transform.translate(new Laya.Vector3(0, 0, 0.2));//S Laya.KeyBoardManager.hasKeyDown(65) &...

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

1033. 提示资源重复加载 [ 87%]

...ya.Sprite { private swimpoolani:Laya.Animation;  constructor() { super(); this.swimpoolani=new Laya.Animation(); //this.init(); this.swimpoolani.loadAtlas("./res/atlas/Comp.atlas",Laya.Handler.create(this,this.onLoaded));   } private onLoaded():void{   Laya.Animation.createFrames([swimpoorpath01,...

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

1034. 这个圆形遮罩问题怎么解决 [ 87%]

...遮罩问题怎么解决 我的代码时这样的 var sp = new Sprite(); this.addChild(sp);         this.img = new Sprite(); sp.graphics.drawCircle(0,0,50,"transparent");         this.addChild(this.img); this.img.mark = sp;   我看被人也都是这样写的不知道为什么我的...

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

1035. TiledMap移动问题 [ 87%]

...emap,在mouseMove的时候用tiledmap的x和y加上偏移量来移动: this.tiledMap.moveViewPort(this.tiledMap.x + offsetX, this.tiledMap.y + offsetY);     offsetX和offsetY就是当前laya.stage点 减去 上一个laya.stage点,移动时地图会一闪一闪,而且移动得不正确; ...

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

1036. 发布Oppo小游戏屏幕适配bug [ 87%]

...好了。自问自答,希望有用。 Laya.stage.on(Laya.Event.RESIZE, this, this.resize);     static resize(): void { // let w = this.config.width; // let h = this.config.height; // let screen_wh_scale = Laya.Browser.clientWidth / Laya.Browser.clientHeight; // if (Laya.stage.scaleMode == Laya.S...

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

1037. 为什么我获取不到鼠标滚轮的delta值,我查看laya.events.Event 里面没有这个属性 [ 87%]

... true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; // Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera = this.scene.addChild(new Laya.Camera()) as Laya.Camera; this.camera.transform.position = new Laya.Vector3(0, 0, 5); this.camera.transform.rotate(n...

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

1038. SCALE_FIXED_WIDTH适配屏幕的问题 [ 87%]

... _roomId = 0;         constructor(roomId?: number) {             this._roomId = roomId;             Laya.init(750, 1218, Laya.WebGL);             Laya.Browser.document.title = 'GG游戏;             if (Laya.Browser.onPC) {                 //设置舞台缩放模...

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

1039. 图集动画没有显示 [ 87%]

... 'res/atlas/cloud.json'; Laya.loader.load(AniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.loader.ATLAS); function createAnimation() { var ani = new Laya.Animation(); ani.loadAtlas(AniConfPath); ani.interval = 30; ani.index = 1; ani.play(); Laya.stage.addChild(ani); } 2017-09...

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

1040. laya.utils.Timer_API3.0 [ 87%]

...n laya/utils/Timer.ts:278 延迟执行。 Parameters caller: any 执行域(this)。 method: Function 定时器回调函数。 Default value args: any[] = null 回调参数。 Returns void clear clear(caller: any, method: Function): void Defined in laya/utils/Timer.ts:243 清理定时器。 Parameter...

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