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

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

361. 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 [ 49%]

...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

362. Android打包后运行报错 [ 48%]

...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

363. 关于声音(TypeScript-LayaNative原生服务-LayaNative基础文档) [ 48%]

...format,for optimal performance reason,please refer to the official website document.` 这个时候需要把mp3转换成wav或者ogg格式。 ## 4.解决兼容性 如果你的项目在网页版本中音效使用mp3格式,但是LayaNative中又使用wav格式。建议项目使用配置文件的方...

来源: Laya2.0_文档 发布时间: 20210715

364. 输入文本框的响应区出现问题 [ 48%]

...scrollTop的值 2. 通过js可以获取到整个浏览器舞台的高度 document.documentElement.ClientHeight 3. (当前舞台实际的高度 / 浏览器舞台的高度) * scrollTop = 整个界面向上移动的距离 mouseY + 整个界面向上移动的距离,用来检测触摸点和组件的碰...

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

365. 1整天了,还是没解决加载本地文件问题 [ 47%]

...务。 { // 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

366. 打开新窗口被拦截,同样的方法用egret和其他h5工程都没有问题 [ 47%]

...>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

367. 3D+2D场景截屏,在不同浏览器显示效果不一致 [ 47%]

...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

368. vivo小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...下载安装vivo的调试APP,下载页面:https://minigame.vivo.com.cn/documents/#/download/debugger 进入页面后,点击 立即下载 ,即可下载安装。至于如何安装vivo调试APP,这里就不介绍了。 3、下载vivo小游戏引擎 当前调试APP内置的vivo引擎版本是1...

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

369. LayaAir2在编辑器里面新建默认的3D项目(TS语言),无法完成编译和运行。 [ 47%]

... 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

370. ide 2.4 layaair2-cmd 编译报错 [ 47%]

...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