大约有 273 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
...了drawToCanvas方法的么?一调用就会提示gl.readPixels is not a function。如果不能用的话,有没有其它替代方案? 用ts写代码 能用npm包吗 还有es6语法 问题状态 最新活动: 2017-11-07 19:29 浏览: 989 关注: 2 人 chenzp2031453 • 2017-11-07 20:17 只是...
来源: Laya_社区 发布时间: 20171107
...,视项目情况自行修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } 2018-01-15 0 0 分享 微...
来源: Laya_社区 发布时间: 20180115
...以及获取声音信息。 */ public static function playMusic(url:String, loops:int = 0, complete:Handler = null, startTime:Number = 0):SoundChannel { 你的参数传入是否正确那? 或者能否发一下你出问题部分的代码或者小demo那? 2018-04-17 0 ...
来源: Laya_社区 发布时间: 20180417
...示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function JS打地鼠 加载资源图片失败 按照打地鼠教程来无法正常加载资源 看打地鼠的Demo的几个疑问 问题状态 最新活动: 2018-02-08 19:32 浏览: 1433 关注: 2 人 Laya_Aaron • 2018-02-0...
来源: Laya_社区 发布时间: 20180208
...callBack: null, _proxy: Proxy, _data: null…} TypeError: require is not a function at Object.ProtoBuf.Util.Util.fetch (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:354:26) at Object.ProtoBuf.loadProtoFile (file:///D:/workspace_laya/car_h5_nonet/bin/h5/protobuf.js:5150:38) at msg_cs.__p...
来源: Laya_社区 发布时间: 20170117
...Array的zlib.min.js后报错 导微信小程序报错window.focus is not a function 官方新手游戏引导示例中关于hit和unHit的使用疑问 问题状态 最新活动: 2019-05-21 20:32 浏览: 1045 关注: 2 人
来源: Laya_社区 发布时间: 20190116
...具导入Laya小游戏程序 报错了 xml.getElementsByTagName is not a function 2018-07-05 0 1 分享 微博 QZONE 微信 yminhao 赞同来自: 感谢分享,完美解决在微信开发工具中,用Laya.BitmapFont的loadFont方法,加载位图字体失败,报gameThirdScriptError的错误...
来源: Laya_社区 发布时间: 20180103
...代码 Fb编译运行出错 浏览器运行提示TypeError: xxx is not a function 和创建精灵一样new Rand()出错 打包apk Uncaught SyntaxError: Unexpected token 'export’ 问题状态 最新活动: 2021-12-27 19:33 浏览: 2794 关注: 2 人
来源: Laya_社区 发布时间: 20211227
...ministrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Module._load (internal/modules/cjs/loader.js:841:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) at ...
来源: Laya_社区 发布时间: 20200817
...用的namespace。 export namespace mvc{ const commandMap = {}; export function registerCommand(){ //doSomething }; export interface ICommand{ excute(type:string, params:any):void; } } 2019-09-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20180918