大约有 404 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
Laya_社区(355) Laya2.0_文档(29) Laya3.0_文档(9) Laya_示例(4) Laya2.0_示例(4) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...t = img.height; } else { width = img.width; height = img.width; } canvas = document.createElement('canvas'); if (!canvas.getContext) { // 判断浏览器是否支持canvas,如果不支持在此处做相应的提示 console.log('您的浏览器版本过低,暂不支持。'); return false; } canva...
来源: Laya_社区 发布时间: 20181125
...s:64358:2 at http://stand.alone.version/Main.max.js:64360:3 at Document._downloadOk (apploader.js:5941:20) at apploader.js:5920:20 at FileReader.filereader.onload (apploader.js:6467:47) ======用的Android真机调试,报错。CHROME、、、 2019-05-28 添加评论 免...
来源: Laya_社区 发布时间: 20190528
...format,for optimal performance reason,please refer to the official website document.` 这个时候需要把mp3转换成wav或者ogg格式。 ## 4.解决兼容性 如果你的项目在网页版本中音效使用mp3格式,但是LayaNative中又使用wav格式。建议项目使用配置文件的方...
来源: Laya2.0_文档 发布时间: 20210715
...scrollTop的值 2. 通过js可以获取到整个浏览器舞台的高度 document.documentElement.ClientHeight 3. (当前舞台实际的高度 / 浏览器舞台的高度) * scrollTop = 整个界面向上移动的距离 mouseY + 整个界面向上移动的距离,用来检测触摸点和组件的碰...
来源: Laya_社区 发布时间: 20170228
...务。 { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0", "command": "${workspaceRoot}/.laya/astool/layajs", "isShellCommand": false, "args": ["${workspaceRoot}/.actionScriptProperties;iflash=false;windowshow=false;chromer...
来源: Laya_社区 发布时间: 20170830
...>click</a>").get(0); console.log("aaa",a); var e = document.createEvent('MouseEvents'); e.initEvent('click',true,true); a.dispatchEvent(e); a.remove(); } </script> qian • 2018-03-21 14:00 直接附件上传一下项目可以么 kvs1205 • 2018-03-21 14:10 新建一...
来源: Laya_社区 发布时间: 20180321
...re2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document.getElementById("layaCanvas"); var spi = new Laya.Sprite(); var spi1 = new Laya.Sprite(); var spi2 = new Laya.Sprite(); this.tempTexture2D.loadImageSource(cans, true); spi.texture = spi1.texture = spi2.texture = this....
来源: Laya_社区 发布时间: 20191230
...下载安装vivo的调试APP,下载页面:https://minigame.vivo.com.cn/documents/#/download/debugger 进入页面后,点击 立即下载 ,即可下载安装。至于如何安装vivo调试APP,这里就不介绍了。 3、下载vivo小游戏引擎 当前调试APP内置的vivo引擎版本是1...
来源: Laya3.0_文档 发布时间: 20251010
... to C:\GreenSoft\LayaAirIDE_beta\resources\app [19:13:20] Using gulpfile ~\Documents\LayaBox2\Demo_MyLaya3DWithWechat2\.laya\gulpfile.js [19:13:20] Starting 'default'... [19:13:20] Finished 'default' after 434 ms -------------------------------------- 编译结束,耗时1.469s 出错了: TypeScrip...
来源: Laya_社区 发布时间: 20180916
...ed to /usr/local/lib/node_modules/layaair2-cmd [14:22:35] Using gulpfile ~/Documents/GameTowertest/.laya/compile.js [14:22:35] Starting 'compile'... rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]...
来源: Laya_社区 发布时间: 20191115