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

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

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

332. 代码创建精灵监听不到事件? [ 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

333. 关于环形进度条,进度不能重置问题 [ 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

334. 动画不显示 [ 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

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

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

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

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

338. _calculateCacheRect函数有bug [ 62%]

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

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

339. 怎么进行椭圆绘制 [ 62%]

... lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 富文本下划线绘制bug 怎么检测点是否在 graphics所绘制的区域内 小游戏开放数据域下使用Laya.List绘制了排行榜,但是触摸没有滚...

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

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

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

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