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

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

591. native环境下动态载入脚本并执行 [ 73%]

...不能在native环境下手动载入若干脚本并执行。   ``` Laya.loader.load("http://118.17.23.1:9877/xxx.js", Handler.create(this, onLoad));//as3 ``` 2017-10-25 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

592. this.animation.loadAtlas 加载失败 [ 73%]

IDE相关问题 this.animation.loadAtlas 加载失败 this.animation.loadAtlas 加载失败什么捕获并处理,还有获取改animation的内存大小 this.animation.loadAtlas(this.resUrl, Laya.Handler.create(this, this.loadCompleted, [completeFun]), this.resUrl);   2017-09-05 添加评论 免...

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

593. Layabox 2.0构建Android版本在4.2上面报错崩溃 [ 73%]

...untime: FATAL EXCEPTION: main     java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libv8.cr.so" needed by "liblayaair.so"; caused by load_library(linker.cpp:745): library "libv8.cr.so" not found         at java.lang.Runtime.loadLi...

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

594. 滤镜-发光滤镜 [ 73%]

...ER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Handler.create(this, setup)); })(); function setup() { createApe(); applayFilter(); } function createApe() { ape = new Sprite(); ape.loadImage(apePath); var texture = Laya.loader.getRes(apePath); ape.x = ...

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

595. laya.d3.resource.DataTexture2D [ 73%]

...Texture2D  getPixels():Uint8Array 返回图片像素。 DataTexture2D  load(url:String, w:int = 0, h:int = 0, magfilter:int, minfilter:int):DataTexture2D[static] 加载Texture2D。 DataTexture2D  onAsynLoaded(url:String, data:*, params:Array):void[override] private DataTexture2DProtected Metho...

来源: laya_api 发布时间: 20170929

596. UI-ComboBox [ 73%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { var cb = createComboBox(skin); cb.autoSize = true; cb.pos((Laya.stage.width - cb.width) / 2, 100); cb.autoSize = false; } function cre...

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

597. UI-Input [ 73%]

...2).png", "../../res/ui/input (3).png", "../../res/ui/input (4).png"]; Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资源。 })(); function onLoadComplete() { for (var i = 0; i ; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stag...

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

598. 请问Laya一般是怎么读取.txt数据的? [ 73%]

... บ 赞同来自: 我们引擎是不支持Node.js的,我们支持的是loadload(url: string, type?: string | null, cache?: boolean, group?: string| null, ignoreCache?: boolean, useWorkerLoader?: boolean): void 2020-09-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...

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

599. 性能测试-虫子(慎入) [ 73%]

...ng, Laya.stage.width + padding * 2, Laya.stage.height + padding * 2); Laya.loader.load(texturePath, Handler.create(this, onTextureLoaded)); })(); function onTextureLoaded() { maggotTexture = Laya.loader.getRes(texturePath); initMaggots(); Laya.timer.frameLoop(1, this, animate); } function initMaggot...

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

600. UI-Input [ 73%]

...es/ui/input (2).png", "res/ui/input (3).png", "res/ui/input (4).png"] Laya.loader.load(skins, Handler.create(this, this.onLoadComplete)); } onLoadComplete() { for (let i = 0, len = skins.length; i ; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alig...

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