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

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

261. 微信小游戏开放域缩放问题 [ 76%]

...放域缩放问题 现在我的游戏里开放域的设置如下 _sp = new Sprite(); var  sharedCanvas:* = Browser.window.sharedCanvas; sharedCanvas.width = Laya.stage.width; sharedCanvas.height = Laya.stage.height; _sp.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height); Lay...

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

262. 如何获取舞台宽高? [ 76%]

...aya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 如何设置Sprite的宽高和点击区域? Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 分享:LayaAir下如何获取图集下的小图资源? Event.MOUSE_WHEEL 如何获取鼠标滚轮是...

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

263. 怎么获取图片的原始宽高 [ 76%]

...前所有动画名称呢?或者所有的AnimationClip呢? matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? ios14系统下 blendMode='lighter' 图片异常 如何设置Sprite的宽高和点击区域? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正...

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

264. laya.ui.Tree_API3.0 [ 76%]

...: 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

265. Bug:舞台的Event.RESIZE事件 [ 76%]

...图 TextInput重写onFocus和onBlur事件监听不到 关于遍历产生的sprite的点击事件,急,大神帮看哈 Animation如何加点击事件 TypeScript下HttpRequest发送Post请求有Bug? 为什么给Sprite容器添加点击事件没反应 自从layaflash起,就一直存在的bug List...

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

266. QQ玩一玩 获取头像后的数据是 BK.Buffer,需要如何用laya的Image显示出来? [ 76%]

...ght:"+height); var tex = new BK.Texture(buff,width,height); var sp =new BK.Sprite(200,200,tex,0,1,1,1); BK.Director.root.addChild(sp); }else if(openID == openID2){ ... } } BK.MQQ.Account.getHead(openID1, callback); BK.MQQ.Account.getHead(openID2, callback);  ========================================...

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

267. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 76%]

...2d物理引擎文档都是IDE篇的。   class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.B...

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

268. laya.ui.Label [ 76%]

...| Events Packagelaya.uiClasspublic class LabelInheritanceLabel Component Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

来源: laya_api 发布时间: 20170929

269. laya.physics.PhysicsDebugDraw [ 76%]

...elaya.physicsClasspublic class PhysicsDebugDrawInheritancePhysicsDebugDraw Sprite Node EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...

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

270. as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? [ 76%]

...的document.getElementById的ID过去?原生div中的id,是对应laya Sprite中的哪个属性或定义? 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 survivor - 翻身做咸鱼 赞同来自: 186...

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