Bitmap Font Generator(bmfont.exe)工具修改以支持Cocos Studio 1.5.0.1
来源:互联网 发布:微博情感分析数据集 编辑:程序博客网 时间:2024/06/02 02:45
欢迎转载,本文地址:http://blog.csdn.net/wolfking_2009/article/details/43955151
好久没来写东西了,最近一年工作都比较忙~偶尔有时间也懒得动弹~趁着刚过完年的懒劲来写点东西
进入正题,修改Bitmap Font Generator(bmfont.exe)是因为公司使用的cocos2d-x升级,使用的Cocos Studio也升级到对应的1.5.0.1版本,然后发现原版的bmfont生成的fnt以及png,在Cocostudio中无法显示
后来找到原因bmfont.exe生成的png名称为fnt的名字+"_0.png",而新版的Cocostudio中只支持fnt与png图片一致的字体
所以我做了修改,就是将生成的fnt的第一张贴图(即fnt的名字+"_0.png"的图片)名称改为与fnt名字一样,不过如果生成的字体是多图的,如有后缀_1.png _2.png等图片的后缀没有做修改
例如: 以前的bmfont.exe生成的字体 test.fnt test_0.png
修改后生成的字体 test.fnt test.png
如果是多图(貌似cocos2d-x不支持多图)
以前的bmfont.exe生成的字体 test.fnt test_0.png test_1.png test_2.png ...
修改后生成的字体 test.fnt test.png test_1.png test_2.png ...
修改后版本的下载地址:
http://download.csdn.net/detail/jinjian2009/8460467
Bitmap Font Generator(bmfont.exe)工具的具体使用可以看下面的帖子:
http://blog.csdn.net/wolfking_2009/article/details/9371691
没有测试过全部功能,如有问题,欢迎指正~
- Bitmap Font Generator(bmfont.exe)工具修改以支持Cocos Studio 1.5.0.1
- cocos js LabelBMFont Bitmap Font Generator
- Bitmap Font generator位图字体工具
- Bitmap Font generator位图字体工具 使用
- Bitmap Font Generator
- Bitmap Font Generator
- [汉化资料] 字库图片生成工具Bitmap font Generator介绍
- Cocos2d-x Bitmap Font generator位图字体工具
- 位图字体生成工具Bitmap Font Generator的使用
- [Tools]位图字体生成工具Bitmap Font Generator的使用
- Bitmap font工具使用
- Cocos2d-x初入学堂(6)-->Bitmap Font generator位图字体工具
- 免费的位图字体制作工具Bitmap Font Generator使用教程
- Cocos2d-x学习笔记之Bitmap Font generator位图字体工具
- cocos2d-x位图字体生成工具Bitmap Font Generator的使用(内含命令行)
- Bitmap Font Generator (制作NGUI字库)
- Unity3D-使用Bitmap Font Generator自定义字体
- 通过 Bitmap Font Generator 生成 fnt 与 png 文件供 cocos2d-x 中 LabelBMFont 使用达到以图片表现数字
- Bootstrap学习(一)
- IIS7配置PHP和Imagick
- 获取版本号
- Excel2013下拉菜单怎么做
- C++ 用libcurl库进行http通讯网络编程
- Bitmap Font Generator(bmfont.exe)工具修改以支持Cocos Studio 1.5.0.1
- Android Drawable 那些不为人知的高效用法
- vim常用命令总结
- Go语言错误处理小例子
- NSPredicate的predicateWithFormat常用方法
- UGUI中Selectable中的Navigation导航
- 互联网创业创意养成记4 - 把你的创意编成一个好故事
- vim使用过程中的以前的消息和错误消息代码介绍
- UIActionSheet和UIAlertView