大约有 250 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...index.html里引用,而是在项目中引用了,或者是AS项目里用require的方式引用了。那都不会合到code.js。这时候,还是要手动针对自己使用的库,尤其是第三方库,进行手工复制。 #### `res`资源目录 res是默认的资源目录,小游戏由于...
来源: Laya2.0_文档 发布时间: 20210714
...ming\npm\node_modules\layaair2-cmd\no de_modules\core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript stand ard library! The project needs your help! Please consider supporting of core-js on Open...
来源: Laya_社区 发布时间: 20200211
...的报错Uncaught ReferenceError: loadLib is not defined at index.js:11 at require (WAGameSubContext.js:3) at subcontext.html:11 开放域代码到底怎么发布到主域呢 Max.魚魚魚鱼魚魚 • 2019-02-16 10:11 楼主问题解决了吗?方便的话,能分享一下2.0制作排行榜的dem...
来源: Laya_社区 发布时间: 20181001
...183*****291 赞同来自: 我解决了,在引入js后 window.Parser = require("./js/dom_parser"); 在core.js中 /** *资源加载完成的处理函数。 *@param data 数据。 */ __proto.onLoaded=function(data){ 在 var bFont=new BitmapFont(); bFont.parseFont(this._data,d...
来源: Laya_社区 发布时间: 20180306
...内容: package awesomepackage; message AwesomeMessage { required string awesomeField = 1; } 放在laya/proto下面,proto这个文件夹没有请自己创建。 2、在bin下的index.html里的这个位置,看粗体部分,protobuf.js在项目里已经存在了,不...
来源: Laya_社区 发布时间: 20170216
...ble rectangular area). If the rectangular collision area does not meet the requirements, you can use the drawing area of the hit area as the collision area. The hit area takes precedence over width and height of node as the non-penetrable mouse collision area. * Note that for UI object nodes with a ...
来源: Laya_社区 发布时间: 20250825
...不到protobufjs这个模块 2 导出的.js文件也报错var $protobuf = require("protobufjs/minimal");括号内的模块也是找不到 请问您那是怎么弄的? 2018-03-21 0 2 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 可以参考下附件中的Demo TSimportRequ...
来源: Laya_社区 发布时间: 20171115
...啊 ld: warning: ignoring file ../LayaRuntime-iOS/libs/libcurl.a, missing required architecture i386 in file ../LayaRuntime-iOS/libs/libcurl.a (2 slices) Undefined symbols for architecture i386: "_zip_file_set_external_attributes", referenced from: _zip_dir_add in libconch.a(zip_dir_add.o)...
来源: Laya_社区 发布时间: 20180522
...laya11/Tank/src/script/Bullet.ts(4,29): semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found. at error (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/rollup/dist/rollup.js:9402:30) at Object.error (/Applications/LayaAirIDE_beta.app...
来源: Laya_社区 发布时间: 20200311
...ength % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number of values must be even"); } this.points = points; } private static distance(x1: number, y1: number, x2: number, y2: number): number { let dx = x2-x1; let dy = y2-y1; return Math.sqrt(dx*dx+dy*dy...
来源: Laya_社区 发布时间: 20241008