Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by NeoDumont. 11/17/25 09:56
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (AndrewAMD, TipmyPip, VoroneTZ, Quad), 8,552 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
tritom, sheliepaley, Blueguy, blobplayintennis, someone2
19178 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 | 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