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

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

321. LayaAir有action相关的对象或者函数吗? [ 63%]

...看demo中运动都是通过修改坐标实现的,那样如果我想让sprite向一个不固定的坐标移动,只能每帧重新计算下坐标吗?引擎本身有没有moveto之类的对象和函数吗? 2016-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

322. laya.ani.bone.Skeleton_API3.0 [ 63%]

...动画由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

323. 关于环形进度条,进度不能重置问题 [ 63%]

...per(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bitmap"; this.box.pos(0,0); this.say.addChild(this.box); this.draw = new Sprite(); this.box.addChild(this.draw); this.draw.graphics.drawPie(this.say.width/2, ...

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

324. 代码创建精灵监听不到事件? [ 63%]

...监听不到事件? var boxstr = "ui/buildsmall.png"; var box = new Laya.Sprite(); var texture = Laya.loader.getRes(boxstr); box.graphics.drawTexture(texture); var arr = {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]);   var _proto = StorageUIL...

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

325. 动画不显示 [ 63%]

....utils.Browser;     import laya.utils.Timer;     import laya.display.Sprite;     import laya.net.Loader;     import laya.ui.TextArea;     import laya.resource.Texture;     import laya.maths.Point;     import laya.utils.Tween;     import laya.d3.resource.models.PrimitiveMesh; ...

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

326. laya.media.VideoNode_API3.0 [ 63%]

... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode 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

327. laya.ui.UIComponent_API3.0 [ 63%]

...lize > createChildren > initialize > 组件构造函数 Hierarchy Sprite UIComponent Box ISelect Button Clip ColorPicker Label Image Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url au...

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

328. _calculateCacheRect函数有bug [ 63%]

... null;             return this;         }   _calculateCacheRect(sprite, tCacheType, x, y) {             var _cacheStyle = sprite._cacheStyle;             if (!_cacheStyle.cacheRect)                 _cacheStyle.cacheRect = Rectangle.create();             var tRec;...

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

329. 二进制图片(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 63%]

...: ```javascript //初始化引擎 Laya.init(1136,640); var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){...

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

330. 3d粒子系统那些属性比较影响性能? [ 62%]

...起人 hyong1986 相关问题 Layaair IDE的帧属性面板不见了 大量sprite如何优化性能 lh文件内meshSprite添加阴影属性无效 分享:技术突破:HTML5裸跑性能已可媲美APP 1.7.20beta有bug,帧属性面板打不开 pos会影响精灵缩放效果的问题 laya无法解...

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