| View previous topic :: View next topic |
| Author |
Message |
Ferrero
Joined: 19 Dec 2005 Posts: 15
|
Posted: Thu Jan 19, 2006 1:45 am Post subject: Bitmap font class |
|
|
Hello everybody, I've made a little class to manage bitmap fonts
First of all I want to thanks Jenay and Lumo for the work they provide to us, and this class is strongly inspired by their works.
With this class you can :
- use a single image to manage diffent fonts of the same size(this is the charSet parameters of the print and printEx functions).
- manage text aligment (0 means left align, 1 means center align and 2 means right align).
- manage clipping region.
- manage multi-lines text (with a \n in your text you make a newline)
Download BitmapFont.zip
View screenshot
PS : the zip contains a sample code. _________________ _________________________________________________________
Do you want some LUA Scripts ?
Go here |
|
| Back to top |
|
 |
LuMo
Joined: 21 Aug 2005 Posts: 410 Location: Austria
|
Posted: Thu Jan 19, 2006 3:00 am Post subject: |
|
|
nices stuff!
keep it up :)
greets
lumo _________________ "Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com |
|
| Back to top |
|
 |
Ferrero
Joined: 19 Dec 2005 Posts: 15
|
Posted: Thu Jan 19, 2006 5:09 am Post subject: |
|
|
Thanks _________________ _________________________________________________________
Do you want some LUA Scripts ?
Go here |
|
| Back to top |
|
 |
illfoundedmind

Joined: 24 Nov 2005 Posts: 22 Location: N/A
|
Posted: Thu Jan 19, 2006 10:06 am Post subject: |
|
|
Did you say... right ALIGN!!!! yes! need to check this one out _________________ illfoundedmind Production Studio |
|
| Back to top |
|
 |
Ferrero
Joined: 19 Dec 2005 Posts: 15
|
Posted: Thu Jan 19, 2006 6:22 pm Post subject: |
|
|
illfoundedmind you can freely use this class or modify it, just put some credits on your game (I've checked your site and it looks promising). _________________ _________________________________________________________
Do you want some LUA Scripts ?
Go here |
|
| Back to top |
|
 |
|