In this post I’ll take you through the process of producing a gold colored font similar to what I’ve used in my own apps. First the alphabet: We need a string of characters separated by one or more spaces (I used 4 in the example below to properly separate the characters) to use in Gimp […]
Split Linear Font File
An image of the linear alphabet isn’t going to do us much good so we need to split it down into individual letters. Splitting Into Individual Letters: To split this long image of the alphabet into individual characters I created a ‘bash'(linux) script. It uses the Image-Magick ‘convert’ program to do two things. First convert […]
Bitmap Fonts in Cocos2d-x
This article describes the process of creating a bitmap’d font, using the GIMP image editor, the image-magick suite, and some home-brewed C-code. It also describes how to use the font in the Cocos2d-x/Android-Studio development environment. For this project you will need: Bash (Sorry, moved from MSWindows to Ubuntu and have never looked back – script […]
Creating a Bitmap Font
The goal of this post is to demonstrate how to generate a bitmap font in a PNG file with a PLIST xml descriptor file for use in Cocos2d-x programs. I’ll describe a no-cost method suitable for a beginning or hobby game programmer but useful across the spectrum. My system is an Ubuntu/linux system and the […]
Cocos2d-x Programming
I’m fairly new to Cocos2d-x programming. This forced me spend some time pondering things that haven’t seemed quite as easy as I would have expected. Therefore, I thought I’d share what I’ve learned in a series of posts. There are also a number of very valuable posts in Chinese which I hope to bring to […]
Up and running…
Well apart from programming Android games … at the moment I find myself learning WordPress. I used to program in raw HTML/CSS but I decided that I should proceed out of the stone age and thus … here I am. Obviously nothing particularly useful at the moment but I plan to add a number of […]
Combining Letter Images
At this point in the process we have a directory full of a full alphabet of letter images and we need to recombine them into a sprite sheet for use in Cocos2d-x, other game engines and elsewhere. We will use the TexturePacker program to create a sprite-sheet PNG file as well as a PLIST index […]