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

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

31. [LayaNative3]x86_64使用shader蓝图(版本3.0.8) [ 93%]

[LayaNative3]x86_64使用shader蓝图(版本3.0.8) 模拟器x86_64这个shader会报错JCGpuProgram::checkCompile Could not compile shader PS:0(66) : error C1317: qualified actual parameter #1 cannot be converted to less qualified parameter ("surface.5") ,但是在模拟器32、网页、微...

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

32. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 93%]

...; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; Floor.__super.call(this); } //事件名称 //超过屏幕一定值出发新的floor事件 Floor.OUT_COMPLETE = "floor_out_complete"; //整个地板都不在屏幕里面事件 Floor.OUT_DIE = "floor_out_die"; //Floor 是一个显示...

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

33. 其他引擎的Demo-Example_04 [ 93%]

..., h = Browser.height, slideX = w / 2, slideY = h / 2, speedInfo; class PIXI_Example_04 { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(w, h, WebGL); Laya.stage.alignV =...

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

34. 【简单跑酷--JS版】---Lv.3 添加地板 [ 93%]

...载的地方 //加载图片 Laya.loader.load(["res/background.png", "res/m_background.png", "res/floor.png"], laya.utils.Handler.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); 首先同样我们到runGame目录新建一个Floor.js 开始编写代码 这里 我们...

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

35. 其他引擎的Demo-Example_04 [ 93%]

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

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

36. 需要x86_64位so [ 93%]

LayaAir引擎 需要x86_64位so 目前谷歌提审会有个警告。 麻烦官方的人发布下这个so。 对你们来说这个只是编码格式的问题而已,应该不麻烦。 附件 : --> 2019-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

37. laya.d3.resource.RenderTexture [ 93%]

...:Number, height:Number, format:int, depthStencilFormat:int) RenderTexture _getSource():*[override] 获取纹理资源。 BaseTexture generateMipmap():void 通过基础数据生成mipMap。 BaseTexture  getData(x:Number, y:Number, width:Number, height:Number, out:Uint8Array):Uint8Array 获得像...

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

38. laya.resource.Texture_API3.0 [ 93%]

...。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourceWidth url uuid DEBUG Accessors bitmap cpuMemory destroyed gpuMemory height id obsolute referenceCount uv valid width cpuMemory gpuMemory ...

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

39. 官方Demo摇杆控制有bug [ 93%]

...删除一下,Roker.ts里的rockerMove方法里的如下代码:   this._currentMouse.x = Math.round(e.touchPos.x / Laya.stage.clientScaleY); this._currentMouse.y = Math.round(e.touchPos.y / Laya.stage.clientScaleY); this.currRockerbox.globalToLocal(this._currentMouse, false); 改为如下方式...

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

40. 性能测试-卡通人物2 [ 92%]

...n() { bloodBar = new Sprite(); bloodBar.loadImage("../../res/cartoon2/blood_1_r.png"); bloodBar.x = 20; this.addChild(bloodBar); } Character.prototype.createNameLabel = function() { nameLabel = new Text(); nameLabel.color = "#FFFFFF"; nameLabel.text = "Default"; nameLabel.fontSize = 13; nameLabel.wi...

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