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

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

191. 发布微信后无法触发mouse_up事件 [ 86%]

...** 初始化资源加载完成 */ private initF():void{ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseHandler); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseHandler); } private mouseHandler(e:laya.events.Event):void { var to...

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

192. 三个图好像无法绑定不同的事件? [ 85%]

.../apes/monkey2.png',100,100,90,90); Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK,this, function(name){ console.log(name);},['图1']); var img2 = new Laya.Sprite(); img2.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',200,300,90,90); Laya.stage.addChild(img2); img2.on(L...

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

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

...dule laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Rectangle = Laya.Rectangle; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: s...

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

194. iOS wkWebView [ 85%]

...le.log("connect...."); this.hr = new Laya.HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send('http://tdev.sanguoh5.com:800...

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

195. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 85%]

...如下:   以下是代码: protected onEnter(){ this.img_sample.on(Laya.Event.CLICK, this, this.onImgClick); Laya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(L...

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

196. ANDORID 切后台 怎么监听啊 [ 85%]

... 怎么监听啊 ANDORID 切后台 怎么监听啊?  Laya.stage.on(Laya.Event.BLUR, this, this._on_blur); Laya.stage.on(Laya.Event.FOCUS, this, this._on_focus);这个没有用啊。 2018-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

197. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 85%]

...              }                     this.event(Event.PROGRESS, 0.3 + 1 / toloadPics.length * 0.6);                     return this._loadResourceFilter(Loader.IMAGE, URL.formatURL(toloadPics.pop()));                 }   ...

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

198. spine 播放错乱 [ 85%]

...mplet(); this.templet.loadAni("spine/10101001.json"); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skelet...

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

199. 其他引擎的Demo-Example_05 [ 85%]

...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var n = 2000; var d = 1; var current = 0; var objs = 17; var vx = 0; var vy = 0; var vz = 0; var points1 = []; var points2 = []; var...

来源: Laya_示例 发布时间: 20241002

200. 其他引擎的Demo-Example_05 [ 85%]

...效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var n = 2000; var d = 1; var current = 0; var objs = 17; var vx = 0; var vy = 0; var vz = 0; var points1 = []; var points2 = []; var...

来源: Laya2.0_示例 发布时间: 20241002