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

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

61. 怎么对graphics画出来的图片进行鼠标点击拖动??? [ 68%]

...e.bgColor = "#232628"; //这里是我注释掉的代码 //Laya.loader.load(this.ApePath, Handler.create(this, this.setup)); this.setup(); } private setup(): void { this.createApe(); this.showDragRegion(); } private createApe(): void { this.ape = new Sprite(); //this.ape.loadImage(this.ApePath); Laya...

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

62. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 68%]

...  init( box: GunBox, doll_item: DollItem, doll_area: Area ):void { // if(!this._body_ani) // { // this._body_ani = new Laya.Animation(); // this.addChild(this._body_ani); // } // this._body_ani.play(0, true, doll_item.animation_name);  this._box = box;  this._fly_site.w = this._box._area.w - 20; ...

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

63. 最新版本绘制100x100个sprite ios不能显示 [ 68%]

...制100x100个sprite ios不能显示 /* 游戏地图 */ function GameMap(){ this.MapRowNum = 100; this.MapColNum = 100; GameMap.super(this); this.init(); } Laya.class(GameMap, "GameMap", laya.display.Sprite); var _proto = GameMap.prototype; _proto.init = function(){ var boxSp = new laya.display.Sprit...

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

64. Laya.loader.create 进度回调函数执行两次!!! 上次发问题一直没有回复 [ 67%]

...一直没有回复 Laya.loader.create("Main/SMain.ls",Laya.Handler.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); }   输出结果: 0.19186599730944645 0.52519...

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

65. FontChip不能显示 [ 67%]

.../SceneScoreNum.png", 123); fontLable.x = pt_src.x; fontLable.y = pt_src.y; this.addChild(fontLable); 2018-04-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 w1114367261 赞同来自: xiong /**      * 字体...

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

66. laya2.12 textInput组件 [ 66%]

...****593 赞同来自: 可以先按照我图示中的修改,加上input = this.nativeInput这句话,这个问题会同步到后面的版本,感谢反馈 2021-05-17 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发...

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

67. textArea滚动条异常问题 [ 66%]

...的 txtInput.wordWrap = true;//使用ide设置的 txtInput.on(Event.INPUT, this, onInputChange); private function reset(e:Event = null):void { clickStar = 0; txtInput.text = ""; txtLast.text = "剩余输入:" + WelfareNoticeMgr.MAX_WARD + "字"; } private function onI...

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

68. http请求能否取消 [ 65%]

... * 清除当前请求。 */ protected function clear():void { var http:* = this._http; http.onerror = http.onabort = http.onprogress = http.onload = null; } 2016-12-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhjinshiboy 相关问...

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

69. Spine动画资源加载时不能同时使用"版本管理"和"URL.basePath" [ 63%]

...本)的4827行左右的Templet类的onComplete及parseData方法中设置this._path的位置处对_path进行路径过滤,去掉它内部包含URL.basePath的部分 __proto.onComplete=function(content){ if (this._isDestroyed){ this.destroy(); return; }; var tSkBuffer=Loader.getRes(this._skBuffer...

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

70. 关于as版的Animation.createFrames()不能工作? [ 62%]

...ya.Stat.show(); Laya.loader.load("res/atlas/war.json", Laya.Handler.create(this, this.onLoaded), null, Laya.Loader.ATLAS); Laya.loader.on(Event.ERROR, this, onError); } protected function onError(error:String):void { trace(error); } protected function onLoaded():void { Animation.createFrames(["war/h...

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