Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by mistery. 12/05/26 12:48
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Grant), 2,298 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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