Kin Wang

Results 49 comments of Kin Wang

Creator 2.1.0中 `this.node.rotation` 变成了 `this.node.angle` `rotation` 和 `angle` 的方向是反的,`rotation`是顺时针角度,`angle`是逆时针角度 所以拿CocosCreatorPlugins 看2.1.0的项目,rotation全部是反的

> 提供 nodejs 流行框架如 express koa nestjs 等的中间件,方便嵌入已有的项目中 这个具体是指什么呢?可以举个例子说明吗? 例如接入 express、koa、nestjs 的主要收益是什么? 具体是希望 TSRPC 接入(Ptl/Api 的开发范式),还是只希望二进制序列化、类型检测接入呢?

可以,在 `tsrpc.config.ts` 中配置多个 `proto` 项即可。 每个 `proto` 项还可以配置 `ignore` 属性来忽略指定协议。

@themoonbear 参考: ```ts export default { // Generate ServiceProto proto: [ { ptlDir: 'src/shared/protocols', // Protocol dir output: 'src/shared/protocols/serviceProto.ts', // Path for generated ServiceProto apiDir: 'src/api', // API dir docDir:...

> 能否在同步的时候也过滤掉忽略的文件? 目前不行,需要后续版本优化,给 `'copy'` 类型的 `'sync'` 也增加一个 `'ignore'` 选项。 不过这块也要看看有没有好建议?有没有更优雅的 API 设计方式

也可以拆分为多个 config 文件:`tsrpc-cli dev --config xxx.config.ts`

您是 yarn pnpm npm 都有安装,但实际希望使用 pnpm 对吗? 因为目前的实现是只检测 `yarn` 和 `npm`,检测到安装了 `yarn` 会优先使用 `yarn`。 如果有需要的话,后续考虑加一个选项手动指定包管理器。

Did you save the document before publishing? Yes Do you have any relative paths in your publishing settings that don’t exist, eg “../path/to/images”? Yes Are you on Windows? Yes It...

@bigtimebuddy Finally I know where is wrong... If my fla file's fullpath include unicode chars (such as Chinese or Japanese charactors), it may cause this. Because `dataFile` is parsed as...