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

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

291. pivot问题 [ 65%]

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

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

292. Tiled Map 为啥始终显示在最上面,求解 [ 65%]

...create(this,this.onMapLoaded)); this.tMap.scale = 1;   var ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.loadImage("res/lhg.png"); ape.pos(0, 0);     2018-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

293. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

精灵(Sprite)一、概述二、IDE中使用2.1 创建精灵2.2 基础属性2.3 Sprite的特有属性2.4 其它属性2.5 脚本控制属性三、代码中使用3.1 创建Sprite3.2 显示图片3.3 基础属性3.4 其它属性精灵(Sprite) 一、概述 游戏中Sprite精灵是在屏幕中能...

来源: Laya3.0_文档 发布时间: 20251010

294. Texture在绘制时能不能再次指定缩放? [ 65%]

...马赛克效果 现在只能是对每一个未加载的块都创建一个sprite感觉好浪费,地图切得小的时候刚开始可能就上百个sprite,虽然性能也没啥问题,但如果可以直接缩放渲染texture就更好了 2017-03-05 添加评论 免费帖 --> 分享 微博 QZONE ...

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

295. 回调函数传递sprite3D问题 [ 65%]

回调函数传递sprite3D问题 使用 Laya.timer.frameLoop();函数 看了官方API,第四个参数是传一个数组,作为回调函数的入参, var spriteArray = new Array(); spriteArray.push(warehouse1); Laya.timer.frameLoop(1, this, freshBubble,spriteArray); function freshBubble(sprite...

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

296. laya.media.SoundNode_API3.0 [ 65%]

...de Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alp...

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

297. laya.display.Text [ 65%]

...nts | Constants Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常...

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

298. laya.map.GridSprite_API3.0 [ 65%]

...Protected All Inherited Externals Only exported Menu Globals "laya/map/GridSprite" GridSprite Class GridSprite 地图的每层都会分块渲染处理 本类就是地图的块数据 author ... Hierarchy Sprite GridSprite Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseU...

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

299. laya.particle.Particle2D_API3.0 [ 65%]

..." Particle2D Class Particle2D Particle2D 类是2D粒子播放类 Hierarchy Sprite Particle2D Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoPlay autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHie...

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

300. 关于fillText问题 [ 65%]

关于fillText问题 private label_image:Laya.Sprite=new Laya.Sprite(); this.label_image.graphics.fillText(xxx, xxx,"15px Arial","#000000","center"); this.label_image.pos(0,0) Laya.stage.addChild(this.label_image); 这样写为什么CurMem会增加接近16M,这不就是在精灵上绘制嘛,...

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