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

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

1. filetable.bin有可能被修改? [ 100%]

...http-equiv="refresh" content="0; url=http://hljdnserror1.wo.com.cn: ... ot%3B /> I/LayaBox ( 9069): </head I/LayaBox ( 9069): <body> I/LayaBox ( 9069): </body> I/LayaBox ( 9069): </html> I/LayaBox ( 9069): need update; I/LayaBox ( 9069): Download [ ]:http://lesson.GameMLPD/up...

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

2. 急急急,如何设置按钮点击加载ani [ 95%]

...      private var skin:String = "https://layaair.ldc.layabox.co ... 3B%3B         private var aniPath:String = "https://layaair.ldc.layabox.co ... 3B%3B         public function LayaUISample() {             //初始化引擎                      ...

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

3. 请问我用下面的代码发送个简单的http get请求,为什么在电脑上能得到成功输出,在手机上总是得到失败输出呢? [ 93%]

...呢? function myfunc() { var url = "http://43.254.151.248/sf_serve ... 3B%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert...

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

4. 示例里的百度地图 [ 87%]

...了script以及加入了:var lib = "https://api.map.baidu.com/api% ... 3B%3B createScript("url", lib); return; 但还是不能定位,地图整体是显示了的,请问具体有哪些要注意的。 2018-12-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

5. Laya不能加载外部图片,原生canvas却可以? [ 84%]

...ext("2d"); var img=new Image() img.src="http://pic.qqtn.com/up/2016-11 ... 3B%3B img.onload = function(){     cxt.drawImage(img,0,0); }   在原生canvas支持能加载外部资源。然而在laya并不能支持加载外部图片 于是把laya用原生测试了下于是发送了报错。   附...

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

6. timeline播放完成Bug [ 83%]

...Color = "#232628"; const monkey1Path = "https://layaair2.ldc2.layabox. ... 3B%3B Laya.loader.load(monkey1Path, Laya.Handler.create(this, function() { let monkey = Laya.loader.getRes(monkey1Path); let ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.graphics.drawTexture(monkey, 0, 0); var tl = ...

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

7. edge无妨访问facebook的图片 [ 83%]

...(4,2); image.size(33,33); image.skin = "https://platform-lookaside.fbs ... 3B%3B Laya.stage.addChild(image); 用edge无法访问该图片 用edge浏览器单独打开此图片可以打开 用firefox,chrome都可以访问到图片 这是火狐看到的   附件 : --> 2018-11-16 添加评论 免费...

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

8. 打包成apk后无法使用百度地图 [ 82%]

...t;script type="text/javascript" src="http://api.map.baidu.com/api%3 ... gt%3B     <script type="text/javascript" src="http://developer.baidu.com/map ... gt%3B  </head>   <body>  <div id="camera"> <video id="video" autoplay x5-video-player-type="h5" x5-video-player-fulls...

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

9. Laya3.0 图片拼合缩放会导致两张图片之间有一条横线[已解决] [ 81%]

...问题         Laya.loader.load("http://103.219.177.59:63344/%2 ... ot%3B, Laya.Loader.TEXTURE2D).then((texture: Laya.Texture2D) => {             //在U方向上使用WARPMODE_CLAMP             texture.wrapModeU = Laya.WrapMode.Clamp;             //在V方向使用WARPMODE_C...

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

10. HttpRequest在网页上和APP上表现不一致 [ 81%]

...上和APP上表现不一致 let url = "http://10.1.1.123:9090/pgame/s ... 3B%3B Laya.timer.loop(30000, this, ()=>{     let hr = new Laya.HttpRequest();     hr.http.timeout = 3000;     hr.http.ontimeout = function(){console.log("http timeout test: timeout")};     hr.once(Laya.Event.COMPLET...

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