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

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

451. drawTexture 画出来的数据会有以前的数据 [ 67%]

...e var img:Image; public function TestView() { img = new Image("comp/lhjicon_5.png"); img.x = 640; img.y = 320; iconSpr = new Sprite(); iconSpr.width = 1280; iconSpr.height = 640; iconSpr.addChild(img); btn.on(Event.CLICK,this,runGame1); } private function runGame1():void { xNum = Math.random()*7 - 3...

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

452. 动画混合问题,Avatar动画混合报错. [ 67%]

...ror: Cannot read property 'time' of undefined laya.d3.js:22278 at Animator.__proto._eventScript (file:///F:/Program/PF_LAYA2.1/game/bin/libs/laya.d3.js:22278:15)   at Animator.__proto._updateEventScript (file:///F:/Program/PF_LAYA2.1/game/bin/libs/laya.d3.js:22315:11)   at Animator.__proto._update...

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

453. 关于intersects碰撞的疑问 [ 67%]

...置后使用getBounds不会再进行大量计算,那我就放心用了^_^ cuixueying • 2016-12-06 21:29 好的,有问题保持沟通!

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

454. laya.d3.core.scene.BaseScene [ 67%]

...据添加顺序排序。SpriteProtected Properties PropertyDefined By  _enableDepthFog : BooleanBaseScenePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  BaseScene() 创建一个 BaseScene 实例。 BaseScene  addChild(node:Node):Node[override] 添...

来源: laya_api 发布时间: 20170422

455. laya.ui.TipManager [ 67%]

...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...

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

456. LAYA js 1.7.12 Tween 使用时回调时 core报错 [ 67%]

...代码,提示 Uncaught TypeError: handler.run is not a function at Tween.__proto.complete (laya.core.js:9423) 9423 :handler && handler.run(); 你们自己试试吧。。为啥要。&&run() 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

457. TextInput TextArea 获取当前有多少行? [ 67%]

...被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 cry_11858 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? Laya2.6.0beta 物理引擎 刚体碰撞点位置...

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

458. 动画播放完回调函数内,物体的坐标轴错乱 [ 67%]

...回调函数内,物体的坐标轴错乱 我在动画播放完的函数_ani.on(Event.STOPPED,this,ruturnRoad)的ruturnRoad方法内移动一个已经创建好的物体,发现这个物体的坐标轴错乱,原来X轴变为Z轴,原来Z轴变为X轴,物体坐标原来的坐标也改变了 201...

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

459. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 67%]

... TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto....

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

460. Canvas模式下不报错,WebGL模式下运行时报错 [ 67%]

...Context2D.fileRect()方法,具体行见截图   RenderContext类:this._drawRect=function(x,y,args){                 var ctx=this.ctx;                 if (args[4] !=null){                     ctx.fillStyle=args[4];                     ctx.fil...

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