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

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

811. laya打包APK无法进入游戏 [ 68%]

...重进   报错信息如下: 03-07 15:59:40.935: W/LayaBox(24066): download error: timeout, dt=8,opttimeout=179803-07 15:59:40.935: W/LayaBox(24066): download error: timeout, dt=8,opttimeout=1798 03-07 15:59:40.935: I/LayaBox(24066): Downloaded http://stand.alone.version/src/view/pop/popAdv.js@ s...

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

812. 【分享】圆形进度条上图片跟随进度并旋转角度 [ 68%]

...近做到这一块,就分享给大家。  //首先是加载资源 Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this.onLoading, null, false));      /** * 加载资源进度 * @param percent 百分比 */ private onLoading(percent: number): void { this.view.bo...

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

813. Sound类如何中断加载声音? [ 68%]

Sound类如何中断加载声音? 点击按钮btnA通过Sound的load方法加载声音soundA,点击按钮btnB通过Sound的load方法加载声音soundB。假如点击btnB的时候,soundA还没有加载完毕,如何中断soundA的加载。因为不中断的话就会导致soundB加载完后...

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

814. layaBox2.2中这个错误怎解决或者怎么忽略不报这个错误 [ 68%]

.../bin/undefined/undefined.json Request failed Status:0 text: [warn]Retry to load: undefined/undefined.scene Failed to load resource: net::ERR_FILE_NOT_FOUND [file:///H:/LayaAir/minGame1/cyjl/bin/undefined/undefined.json] 附件 : --> 2019-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

815. 鼠标交互-拖动 [ 68%]

...e = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(ApePath, Handler.create(this, this.setup)); } setup() { this.createApe(); this.showDragRegion(); } createApe() { const Sprite = Laya.Sprite, Event = Laya.Event; this.ape = new Sprite(); this.ape.loadImage(ApePath)...

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

816. 性能测试-骨骼 [ 68%]

... Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCA...

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

817. 这个方法使用的时候动画都不显示了 [ 68%]

...返回值为Animation对象本身,所以可以使用如下语法:ani.loadAtlas(...).loadAtlas(...).play(...);。</p>          * @param    url            图集路径。需要创建动画模版时,会以此为数据源。          * @param    loaded       ...

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

818. 如何在laya中直接使用proto中定义的enum? [ 68%]

...it(){     var ProtoBuf:any = Browser.window.protobuf;     ProtoBuf.load("type.proto", this.onProtoLoaded);     ProtoBuf.load("Lobby/protobuf/client2world_protocol.proto", this.onProtoBufLoaded1); } function onProtoLoaded(err:any, root:any):void{     if (err)         throw err...

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

819. 3D加载不了 [ 68%]

...a.StandardMaterial();         material.diffuseTexture = Laya.Texture2D.load("res/freegeek logo 0418 yuanjiao Ss.png");         box.meshRender.material = material;       Laya.loader.create("cj\cj-default001.lm",Laya.Handler.create(this,this.onCreateComplete));       function onCreateCom...

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

820. 初学者,LayaAir IDE舞台不显示效果,并提示file: [ 68%]

...yabox/Hello%20Layabox/jsconfig.json' severity: '警告' message: 'Problems loading reference 'https://schemastore.azurewebsites.net/schemas/json/jsconfig.json': Unable to load schema from 'https://schemastore.azurewebsites.net/schemas/json/jsconfig.json': Unable to connect to https://schemastore.azu...

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