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

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

181. laya.display.FrameAnimation_API3.0 [ 82%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

来源: Laya3.0_api 发布时间: 20231115

182. 局部坐标转全局坐标结果与预期相差甚远 [ 82%]

...参数 是本对象自身某个点local坐标转世界坐标,如果要求sprite 自身坐标转世界坐标,需要传入0,0.  相信这样就不会和预期差很远了 2018-12-19 0 4 分享 微博 QZONE 微信 LT 赞同来自: Laya.stage.addChild(this); Laya.timer.once(500,this,test); 转坐...

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

183. laya.spine.SpineSkeleton_API3.0 [ 82%]

...eTemplet,SpineSkeletonRender,SpineSkeleton三部分组成。 Hierarchy Sprite SpineSkeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag PAUSED PLAYING STOPPED drawtocanvCtx Accessors _isHeightSet _isWidthSet a...

来源: Laya3.0_api 发布时间: 20231115

184. laya.display.EffectAnimation_API3.0 [ 82%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

来源: Laya3.0_api 发布时间: 20231115

185. 为什么获取不到getBounds()的width,height [ 82%]

...的animation实例:是个Animation this.hero是Role类的实例:是个Sprite(因为Role继承自Sprite) 第三个问题: 为什么Role类下设置body.pos为机身瞄点 因为body是位于Role下的实例,Role类继承自Sprite,所以它的坐标是相对于Role类(也可以说是...

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

186. laya.ani.bone.Skeleton_API3.0 [ 82%]

...动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha...

来源: Laya3.0_api 发布时间: 20231115

187. laya.display.Text_API3.0 [ 82%]

...aya.stage.addChild(text);//将 text 添加到显示列表。 } } Hierarchy Sprite Text Input Index Constructors constructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROL...

来源: Laya3.0_api 发布时间: 20231115

188. Tween.to 执行失败 [ 82%]

...en.to 执行失败  //使精灵走到鼠标位置 function walkToMousePos(sprite){ console.log(Laya.stage.mouseX) ; console.log(Laya.stage.mouseY) ; console.log(sprite.x) ; console.log(sprite.y) ; var hDir = Laya.stage.mouseX>sprite.x? "right" : "left" ; var vDir = Laya.stage.mouseY>sprite.y?...

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

189. 移动游戏舞台 原来的坐标移位 [ 82%]

...被折叠 要回复问题请先登录 发起人 chengluliang 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 写个捕鱼游戏练练手 招聘:H5游戏开发 坐标:深圳南山 IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 加载到舞台...

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

190. pivot问题 [ 82%]

...模式设置。 或者用坐标转换,把大矩形的中心点转化为sprite的localposition 这个方法更简单 2018-07-19 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 W 相关问题 发起问题须知,必看!!!不按提...

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