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

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

611. 将字节数组转为图片 [ 73%]

...yte layaAir端加载了img.byte文件后如何还原为图片?flash端的loader有个loadBytes方法可以加载字节数组,但是layaAir端没有相关方法实现 2017-04-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

612. Sprite-显示图片 [ 73%]

...s/monkey1.png", monkey2Path = "./res/apes/monkey2.png"; // 方法1:使用loadImage let ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.loadImage(monkey1Path); // 方法2:使用drawTexture Laya.loader.load(monkey2Path, Laya.Handler.create(this, function () { let monkey2 = Laya.loader.getRe...

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

613. https webSocket要怎么使用 [ 73%]

...么使用 https webSocket要怎么使用 Mixed Content: The page at ' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws:     Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HT...

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

614. 3D模型加载出错 [ 73%]

...te3D(Laya.PrimitiveMesh.createBox(1, 1, 1)));         Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh",Laya.Handler.create(null, function(sp){         //Laya.Sprite3D.load("res/layatest.lh",Laya.Handler.create(null, function(sp){             this.box=sc...

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

615. 如何显示动画ani [ 73%]

...成了.ani 文件,可是怎么在主页面上显示啊。 教程中 Laya.loader.load("./res/atlas/ui.atlas",Handler.create(this,onLoaded));这个ui.atlas 死活没看见啊。   代码复制了,不行 啊,坑在哪里???? package{import laya.net.Loader;import laya.utils.Handler;import...

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

616. 谁能给个位图例子? [ 73%]

...个位图例子? 照着官方的例子抄的,却报错了。 Failed to load: laya/assets/comp/moeny.fnt Retry to load: comp/font/moeny.fnt 谁给个例子我看看?? 2017-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

617. UI-ProgressBar [ 73%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["../../res/ui/progressBar.png", "../../res/ui/progressBar$bar.png"], Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { progressBar = new ProgressBar("../../res/ui/progressBar.png"); progres...

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

618. INSTALL_FAILED_NO_MATCHING_ABIS [ 73%]

...叠 要回复问题请先登录 发起人 kukucck 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND httprequest ios手机上请求提示Request failed status:0 Array buffer allocation failed Failed to execute 'texImage2D怎么处理? WebSocket connection to 'ws://192.168.0.8:8102/' fai...

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

619. 请教——layabox如何加载多个图集 [ 73%]

请教——layabox如何加载多个图集 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onload)); 这样写只能添加一个图集,我想问有没有办法用一句代码同时添加其他图集 2018-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

620. 发布 web失败 [ 73%]

...布到web?用自带的Demo发布打开都失败 提示 error]Failed to load: test/TestScene.scene _endLoad @ laya-9e66188d9c.core.js:1 laya-9e66188d9c.core.js:1 Fail to load: test/TestScene.scene laya-9e66188d9c.core.js:1 Uncaught Can not find scene:test/TestScene.scene laya-9e66188d9c.core.js:1 ...

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