Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (M_D), 1,501 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how i can change the size of a font? #111568
02/10/07 13:38
02/10/07 13:38
Joined: Jan 2006
Posts: 53
L
LWD Offline OP
Junior Member
LWD  Offline OP
Junior Member
L

Joined: Jan 2006
Posts: 53
I created a hud for my game, but the font of the health is very small, how i can change the size of the font?
Thanks

Re: how i can change the size of a font? [Re: LWD] #111569
02/10/07 13:41
02/10/07 13:41
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
if you use a bmp-font u have to paint a new one, if you use a truetype font you have to set the size in the font-definition:
"font name = "fontname", style, size;"

Re: how i can change the size of a font? [Re: Scorpion] #111570
02/10/07 17:15
02/10/07 17:15
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
bmap fonts use the scale_x; scale_y parameter

check the manual (I know we've all heard this a million times)


xXxGuitar511
- Programmer
Re: how i can change the size of a font? [Re: xXxGuitar511] #111571
02/10/07 20:10
02/10/07 20:10
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
but then the font is pixeled....

Re: how i can change the size of a font? [Re: Scorpion] #111572
02/10/07 20:24
02/10/07 20:24
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Which Font do you use?

Here a String with Courier New Fnt:

Code:

font courier_font = "cour",0,16; //Courier New,Size 16

text Text_Definition // String definition
{
font = Courier_font;
Red = 255; //Color Settings for this Font
Green= 255; //Color Settings for this Font
Blue= 255; //Color Settings for this Font
layer = 2;
pos_x = 800; //Position Y 800 (right)
pos_y = 30; //Position Y 30 (Up)
layer=2;
strings = 5;
string = Your_String;
flags =narrow,;
}

string Your_String ="Hello, this is my String, Hope you like it ;)"



cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: how i can change the size of a font? [Re: rvL_eXile] #111573
02/11/07 14:03
02/11/07 14:03
Joined: Jan 2006
Posts: 53
L
LWD Offline OP
Junior Member
LWD  Offline OP
Junior Member
L

Joined: Jan 2006
Posts: 53
Thanks a lot to all!

Re: how i can change the size of a font? [Re: LWD] #111574
02/12/07 19:30
02/12/07 19:30
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
Sometimes it helps to add one or both of the following flags
if the font is a light color and appears against
various backgrounds.

ex: flags = shadow, outline;


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1