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

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

211. 关于类中方法的调用 [ 77%]

...opleCount = function(){         //-----         }     }     Laya.class(FactionListItem,"FactionListItem",FactionMainNodeUI);     return FactionListItem; })();       在一个类里。。我可以用this.这样直接调用方法吗?我现在调用了会报错? 2017-11-27 添...

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

212. LAYABOX游戏实时语音之APP版本 [ 76%]

LAYABOX游戏实时语音之APP版本 一.前期准备 1.注册账号申请接口的APPID与密钥 www.youme.im 2下载SDK https://www.youme.im/download.php 开发工具:Android Studio 2.3.3(WIN版本) 开发环境:WIN7 接下来LAYABOX构建APP项目 然后Android Studio导入我们刚刚...

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

213. 在加载多个资源的时候,加载进度异常 [ 76%]

在加载多个资源的时候,加载进度异常 Laya.loader.load(["res/atlas/images.atlas", "res/atlas/f1.atlas", "res/atlas/f2.atlas", "res/atlas/f3.atlas", "res/atlas/f4.atlas", "res/atlas/f5.atlas"],   Laya.Handler.create(this, function(){ }),  Laya.Handler.create(this, function(e){    c...

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

214. 排行榜上的玩家头像绘制问题 [ 76%]

... context.drawImage(image1, 0, 0, 80 * index, 80)       var image = new Laya.Image();       image.loadImage(item.avatarUrl, 0, 0, 40, 40);     用这种方法加载头像会报错啊,是什么原因呢 2018-05-16 0 2 分享 微博 QZONE 微信 187*****279 赞同来自: 真机调试和代...

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

215. laya3d物体碰撞与触发检测的问题 [ 76%]

laya3d物体碰撞与触发检测的问题 import BoxMove from "./BoxMove"; export default class GameUI extends Laya.Scene { constructor() { super(); //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 ...

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

216. 本地双击html如何打开laya项目? [ 76%]

本地双击html如何打开laya项目? url链接的本地图片可以双击html打开,而mornui的资源,本地无法显示。 如何做可以读到该资源? 2016-01-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

217. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 76%]

...export class CommandBuffer_Outline {      private commandBuffer: Laya.CommandBuffer;     private cameraEventFlag: Laya.CameraEventFlags = Laya.CameraEventFlags.BeforeImageEffect;     private camera: Laya.Camera;      private renders:Laya.BaseRender[]  = [];     p...

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

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

...on旋转之后检测不了碰撞   附上代码  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.height,...

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

219. list中加的button不能接收点击事件 求一个list中加button的demo [ 76%]

...     posY = posY + 200;         }         let list = new Laya.List;         list.width = this.itemList.width;         list.height = this.itemList.height;         list.x = this.itemList.x;         list.y = this.itemList.y;         list.spaceY = 12;...

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

220. 小米登录失败 [ 76%]

... Animation 的createFrames 使用已经加载的图集缓存动画失败 laya2.0引入第三方库失败 Laya.Media方法调用失败 layaAir1.8.2版本示例 发 小米 包 白屏!!! Laya2.2.0打包小米快游戏报错 微信小游戏登录如何处理 打包成微信小游戏,图像压缩...

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