大约有 568 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0065 秒)
Laya_社区(298) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya2.0_示例(31) Laya_示例(30) Laya2.0_文档(22) Laya3.0_文档(13)
...看demo中运动都是通过修改坐标实现的,那样如果我想让sprite向一个不固定的坐标移动,只能每帧重新计算下坐标吗?引擎本身有没有moveto之类的对象和函数吗? 2016-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20160627
...动画由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
...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
...监听不到事件? 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
....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
... 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
...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
... null; return this; } _calculateCacheRect(sprite, tCacheType, x, y) { var _cacheStyle = sprite._cacheStyle; if (!_cacheStyle.cacheRect) _cacheStyle.cacheRect = Rectangle.create(); var tRec;...
来源: Laya_社区 发布时间: 20210615
...: ```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
...起人 hyong1986 相关问题 Layaair IDE的帧属性面板不见了 大量sprite如何优化性能 lh文件内meshSprite添加阴影属性无效 分享:技术突破:HTML5裸跑性能已可媲美APP 1.7.20beta有bug,帧属性面板打不开 pos会影响精灵缩放效果的问题 laya无法解...
来源: Laya_社区 发布时间: 20180531