Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, degenerate_762), 907 guests, and 2 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
ANet Chat #289530
09/13/09 19:12
09/13/09 19:12
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Hello Everyone,

I have a quick question about how to increase the size of a text?
I did the following
TEXT* text_example =
}
font = "Arial#24bi";
}

However that is not working.

Thanks in advance,

Doug

Re: ANet Chat [Re: xDoug] #289582
09/14/09 08:34
09/14/09 08:34
Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
Fisch Offline
Newbie
Fisch  Offline
Newbie

Joined: Aug 2009
Posts: 46
Deggendorf, Bayern
Try the following:

Click to reveal..

FONT* arial_font = "arial#24b";
...
TEXT* text_example =
{
...
digits = -150,-10,"This is your example text!",arial_font,0,0;
...
}




The Internet is full of answers, even to never asked questions! laugh
Re: ANet Chat [Re: Fisch] #289655
09/14/09 16:58
09/14/09 16:58
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Okay I can try that. The only reason why I didn't do digits, it's because the position of the text is relative to the position of the player. So if the player is walking, the text would still show above his head.

Re: ANet Chat [Re: xDoug] #289665
09/14/09 17:33
09/14/09 17:33
Joined: May 2008
Posts: 33
Russia/Netherlands
H
Hand_Of_Law Offline
Newbie
Hand_Of_Law  Offline
Newbie
H

Joined: May 2008
Posts: 33
Russia/Netherlands
As you are changing the Anet 3D chat (I presume) try to add:
name_text.font = arial_font;

(Not tested)

Re: ANet Chat [Re: Hand_Of_Law] #289666
09/14/09 17:35
09/14/09 17:35
Joined: Aug 2009
Posts: 34
X
xDoug Offline OP
Newbie
xDoug  Offline OP
Newbie
X

Joined: Aug 2009
Posts: 34
Yeap I already tried that. Its not working

Re: ANet Chat [Re: xDoug] #290024
09/16/09 19:31
09/16/09 19:31

F
Fear411
Unregistered
Fear411
Unregistered
F



FONT* arialFont = "Arial#24bi";
FONT* arialFontBig = "Arial#30bi";

TEXT* test =
{
pos_x = 5;
pos_y = 5;
strings = ("Test");
font = arialFont;
}

and in you function

test.font = arialFontBig;


Moderated by  HeelX, Spirit 

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