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

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

3821. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 47%]

...出报错Uncaught getUint16 error - Out of bounds 莫名其妙的报错,this.getStyle()是null 射线检测报错,outHitInfo.sprite3D=null; 问题状态 最新活动: 2018-10-25 14:42 浏览: 1159 关注: 2 人 123黄 • 2018-10-27 11:30 解决了 http://ask.layabox.com/questio ... 30656

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

3822. box2d 弹性异常 [ 47%]

...ter(other: any, self: any, contact: any): void { let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody) as Laya.RigidBody; let velocity = rig.linearVelocity; console.log(velocity) } 你把初始弹射改成一个球,你就会发现,这个球,他的水平速度x 小于一定值后就...

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

3823. libwebsocket [ 47%]

...018-08-21 11:20:31.548226+0800 game_hao[6707:3937898] new JSWebSocket::this=c41bb4a0 deletgate=c425c050 2018-08-21 11:20:31.548618+0800 game_hao[6707:3937898] WebSocket::init m_host: game.example.com, m_port: 6666, m_path: /ws/ [2018/08/21 11:20:31:5503] NOTICE: Initial logging lev...

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

3824. 关于颜色滤镜的问题 [ 47%]

.../R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 1, 0, 0, 0, 0]; //A var balloon = this.balloon = new Laya.Sprite; balloon.loadImage(RES.balloon); balloon.pos(540,70); balloon.filters = [new Laya.ColorFilter(redMat)]; Laya.stage.addChild(balloon); 附件 : --> 2016-05-25 添加评论 免费帖 --> 分享 ...

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

3825. textArea滚动条异常问题 [ 47%]

...的 txtInput.wordWrap = true;//使用ide设置的 txtInput.on(Event.INPUT, this, onInputChange); private function reset(e:Event = null):void { clickStar = 0; txtInput.text = ""; txtLast.text = "剩余输入:" + WelfareNoticeMgr.MAX_WARD + "字"; } private function onI...

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

3826. 导出的3D资源加载报错 [ 47%]

... Laya.loader.create("res/LayaScene_layaScene/layaScene.lh",Handler.create(this,onModelOK),null,Sprite3D); } private function onModelOK():void { //添加3D场景 var scene:Scene = new Scene(); Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera:Camera = n...

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

3827. [QQ小游戏适配] Laya.loader.create 在QQ安卓版本上 执行没有成功回调,也没有进度回调,监听了error 也没有。在ios版QQ上正常。 [ 47%]

...会出现描述的情况。  Laya.loader.create(path, completeCallBack, this.loadProgressCallback, type).on("error",null,function(msg){ console.error("ERROR",msg) }) 2019-06-17 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

3828. 微信小游戏iOS平台下的Laya.timer.delta在设置Laya.timer.scale=0后会异常暴增 [ 47%]

...nsole.log("updateTimer|" + Laya.timer.currFrame + "|" + Laya.timer.delta); this.timeCounter += Laya.timer.delta; } 现在临时的解决方案,用变量tmpDelta记录onHide时的Laya.timer.delta,在帧循环中如果此变量tmpDelta的值>0,则使用之,否则使用Laya.timer.delta 2018-08-06 ...

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

3829. 图集制作与使用详解(JavaScript-IDE篇(JS)-使用IDE创作) [ 47%]

...使用示例 Laya.loader.load("./res/test/c1.atlas", Laya.Handler.create(this, onLoaded)); ```   `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置信息,在加载`.json`文件的图集时,...

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

3830. 显示对象的mask缩放为0时遮罩效果不生效 [ 47%]

...estSp); let i = 0; tmpMask.scaleX = i / 3; Laya.stage.on(Laya.Event.CLICK, this, ()=>{ i = (i + 1) % 4; tmpMask.scaleX = i / 3; }); 附件 : --> 2020-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 美星 ...

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