02 2023 档案
摘要:python压缩纹理资源 > ccz import os import struct import zlib def ccz(inputFile, outputFile, width, height): if not os.path.exists(inputFile): print("#######
阅读全文
摘要:1、克隆代码,CMake生成工程文件,vs直接编译; https://github.com/ARM-software/astc-encoder 2、命令备份 rem astcenc.exe -h set astc_command=D:\res\tps_test\proj\bg\astcenc.exe
阅读全文
摘要:1、根据 纹理 是否alpha预乘,决定混合方式 void Sprite::updateBlendFunc(void) { CCASSERT(! _batchNode, "CCSprite: updateBlendFunc doesn't work when the sprite is render
阅读全文
摘要:# 克隆代码 344 git clone http://xc@11.9.9.9:10001/r/cocos/hi-ex.git 345 git status 346 cd hi-ex/ 347 git status 348 git add * 349 git commit -m "[hi-ex]in
阅读全文
摘要:echo "\n start etcd signal node..." d: cd D:\git\go\etcd\etcd\bin start "etcd server" etcd --data-dir in-ide.etcd --advertise-client-urls http://0.0.0
阅读全文
摘要:TexturePacker-6.0.0及以上版本,支持导出 ASTC 压缩纹理格式。 win10下命令行 TexturePacker.exe ^ --sheet D:\res\tps_test\proj\bg\output\outpu_by_command\goim_ASTC_4x4.astc ^
阅读全文