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

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

141. 为什么会出现报错 ani not found:ufo1_down [ 75%]

...径 this.radius = [15,30,70]; // 初始化引擎,设置舞台大小 Laya.init(400,852); // 创建循环滚动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded...

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

142. WorkerLoader.enable = true,碰到3D會Error。 [ 75%]

...道什么原因导致的吗? 怎样解决? 切换场景编辑器时 Laya3D init error must support webGl Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 Error: asBitmap no size! 问题状态 最新活动: 2017-08-21 15:59...

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

143. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 75%]

...ya/assets/) d.   6.完整代码如下所示:   //初始化引擎Laya.init(550,400);//自定义文件名称this.mFontName = "diyFont";this.mBitmapFont = new Laya.BitmapFont();//这里不需要扩展名,外部保证fnt与png文件同名this.mBitmapFont.loadFont("res/bitmapFont/test.fnt",new La...

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

144. 新建的项目无法编译 [ 75%]

新建的项目无法编译 新建的项目,代码也只有Laya.init(1100, 400)这一句,编译出错,刚接触LayaBox,求解 附件 : --> 2017-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aa...

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

145. timeline播放完成Bug [ 75%]

....WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; const monkey1...

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

146. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 75%]

... 初始化 IsLand.__super.call(this); // 名字 this.name = "gemini"; this.init(); } // 注册类 IsLand Laya.class(IsLand,"IsLand",laya.display.Sprite); // 原型 var _proto = IsLand.prototype; // 初始化 _proto.init = function(){ // 球体 this.ball = new Sprite(); // 城堡 this.tower = new Spr...

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

147. 声音在安卓机上播放不了 [ 75%]

...服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 视频播放案例 求教: soundManager如何停止正在播放的背景音乐 LayaPlayer在x86ABI的安卓模拟器中崩溃 播放声音出...

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

148. src/LayaSample.ts(513,21): error TS2694: Namespace 'ui' has no exported member 'ComponentDemoUI'. [ 75%]

...nt16 error - Out of bounds Error: asBitmap no size! LayaAirIDE2.2 - Laya3D init error ,must support webGL Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 IDE不能运行调试提示:Chrome error: Error:... spine动画...

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

149. 打包安卓Android studio黑屏 [ 75%]

...ogcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach thread to application I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.layabox.test#102...

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

150. HtmlDivElement宽度设置错误 [ 75%]

...default class HtmlTest extends Laya.Sprite { constructor() { super(); this.init(); } init() { this.bg = new Laya.Sprite(); this.bg.graphics.drawRect(0, 0, 200, 200, '#ccc'); this.addChild(this.bg); this.htmlTxt = new Laya.HTMLDivElement(); this.htmlTxt.style.fontSize = 20; this.htmlTxt.style.width =...

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