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

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

191. (附件demo)qq小游戏发布之后启动报错,在开发工具模拟器里面运行正常 [ 52%]

...Main.js里面加了,在手机上没有运行到这里。 constructor() { console.log("Main start....");   附件qq_layaSample是用2.4IDE创建一个一个3d物理实例工程,导出qq平台后在开发工具里面压根运行不起来,但是在 Ver 0.1.29-beta.55  里面可以运行。  ...

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

192. 提示“AtlasResourceManager:Dispose the inner Atlas。” [ 52%]

...微信 jonahzheng 赞同来自: /*Laya.init(600, 400); var aa = '1234567'; console.log(aa.substring(0,3));*/ (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var Loader = laya.n...

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

193. List组件拖动浏览时item会出现重叠的现象 [ 52%]

...数据 list.dataSource = data; } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = laya.ui.Box; import Image = laya.ui.Image; import Label = Laya.Label; export class ListDataSourceItem extends Box { public static WID: number = 200; public stati...

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

194. 我看到这段话后,我 [ 52%]

...public get XValue(): number { return 100; } public set XValue(v: number) { console.log(v); } } var x = new XClass(); x["XValue"] = 100; 你运行一下看看呢、这能覆盖函数吗? ageazrael • 2019-08-05 15:22 dataSource你们代码写错了呀,限制属性不是function,那...

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

195. list组件在微信小游戏的上屏中点击定位不准 [ 52%]

...不生效。我在上一页文本上增加了点击事件,click后应该console.log,但是现在没有反应。   study.rar附件是小游戏的demo。   gif附件是bug的录像。   附件 : --> study.rar 2018-04-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

196. webstorm能编译ts代码到bundle.js 里面吗 [ 52%]

...ks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } console.log("jsroads------prevTasks:" + JSON.stringify(prevTasks)); //使用browserify,转换ts到js,并输出到bin/js目录 gulp.task("compile", "", function () { // 发布时调用编译功能,判断是否点击了...

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

197. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 52%]

..."comp/skeleton/spineboy.sk"); } protected onExit() {}; private onError() { console.log("parse error"); } private parseComplete() { //从动画模板创建动画播放对象 let hero = this.templet.buildArmature(1); hero.pos(200, 0); //切换动画皮肤 hero.showSkinByIndex(0); //播放 hero.play(0,...

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

198. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 52%]

...se); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.removeSelf(); return; } } else { var move1 = new Laya.Vector3(0.02, 0, 0); var move2 = new Laya.Vector3(-0.02, 0, 0); Laya.timer.once(0, null, Right); Laya.timer.once(50,...

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

199. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 51%]

...enter"; Laya.stage.alignV = "middle"; Laya.stage.scaleMode = "fixedwidth"; console.log("iswebgl:", Laya.Render.isWebGL); }  public Load() { Laya.loader.load(NewTest.url, null, null, null, 0, true); }  public Unload() { Laya.loader.clearRes(NewTest.url); } }  window["test"] = new NewTest(); window...

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

200. 关于微信小游戏关系链的问题 [ 51%]

...同来自: Rickshao 、qq771472501  Laya.timer.once(4000,this,function(){ console.log(Browser.window.sharedCanvas)       var rankTexture=new Texture(Browser.window.sharedCanvas);       rankTexture.bitmap.alwaysChange=true; console.log(rankTexture)       LayaUISample.scoreview.grap...

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