Discuss using and improving Lua and the Lua Player specific to the PSP.
Moderators: Shine, Insert_witty_name
-
Ferrero
- Posts: 15
- Joined: Mon Dec 19, 2005 7:26 pm
-
Contact:
Post
by Ferrero »
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
-
LuMo
- Posts: 410
- Joined: Sun Aug 21, 2005 2:45 am
- Location: Austria
-
Contact:
Post
by LuMo »
nices stuff!
keep it up :)
greets
lumo
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
-
Ferrero
- Posts: 15
- Joined: Mon Dec 19, 2005 7:26 pm
-
Contact:
Post
by Ferrero »
Thanks
_________________________________________________________
Do you want some LUA Scripts ?
Go here
-
illfoundedmind
- Posts: 22
- Joined: Thu Nov 24, 2005 10:03 am
- Location: N/A
-
Contact:
Post
by illfoundedmind »
Did you say... right ALIGN!!!! yes! need to check this one out
illfoundedmind Production Studio
-
Ferrero
- Posts: 15
- Joined: Mon Dec 19, 2005 7:26 pm
-
Contact:
Post
by Ferrero »
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