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

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

391. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 49%]

...Loading, null, false)); // 侦听加载失败     Laya.loader.on(Event.ERROR, this, onError);     this.moveover =true;     function onAssetLoaded(texture)     {         console.log("加载结束");         pic="res/castlebeyond.jpg";         this.bgimg = new L...

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

392. 小游戏内 个别手机出现图片花了 像马赛克一样的东西,很多图片不显示 [ 48%]

...使图片以圆形的方式显示? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本...

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

393. Texture如何转换成Texture2D有人搞过吗 [ 48%]

...ot read property 'width' of null VIP功能导出iOS资源,unity插件报 Error to compress texture 问题状态 最新活动: 2019-05-22 15:41 浏览: 1642 关注: 5 人

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

394. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 48%]

...onfig File. 请教专家:curl_easy_perform failed和JCFileRes::onDownloadError file error fatal error: 'string' file not found Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format add shader include file err, has add:Lighting.glsl,这...

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

395. httpRequest send返回Request failed Status:0 [ 48%]

...Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandler(data: Object, URL: string, id: number): void { //加载...

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

396. 原生js如何调用laya里的方法? [ 48%]

...&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i]....

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

397. layaBOX实时语音聊天与微信登陆接口分享 [ 48%]

...证 YIM.WXCheckSignature(req,token,function(err,rows){ if(err){ res.send("error"); }else{ res.send(rows); } }) }); router.get('/token', function (req, res, next) { var apiinfo = { appid: "123231", secret: "132321132" } var that = this; //获取TOEKN YIM.WXGetAccessToken(apiinfo, function (scope, dat...

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

398. 预制体模块 · LayaAir3文档 · LAYABOX [ 48%]

...Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): void { //...

来源: Laya3.0_文档 发布时间: 20241014

399. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 48%]

示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conn...

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

400. app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 [ 47%]

...failed 2018-01-09 20:50:15.646 ZhuaWawa[2531:1863829] JCFileRes::onDownloadError file error[1]:file:///var/mobile/Containers/Data/Application/1BB9B6D6-4FF0-4A51-9504-EDDD8FD5E2C3/Library/Caches/localstorage/logo/logo.png 2018-01-09 20:50:15.650 ZhuaWawa[2531:1863829]  require(/sdcard/layabox/script...

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