Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Text options #256573
03/17/09 16:02
03/17/09 16:02
Joined: Nov 2007
Posts: 60
D
darci Offline OP
Junior Member
darci  Offline OP
Junior Member
D

Joined: Nov 2007
Posts: 60
hi all,

i search everywhere but couldn´t fit it anywhere^^

my problem is ive got a TEXT*


FONT* georgia_font = "GeorgiaMS#25b";

TEXT* a_txt =
{//------------------------------------
pos_x = 180;
pos_y = 224;
layer = 10;
font = georgia_font;
string ("a");
flags = VISIBLE;
}

thats my scrip,
1. now i want to change the color of the text
2. i want to change the sice and the color while running the program

3. my bigest problem, i´ve no ideal how to do that smirk

could someone help

mfg darci

Re: Text options [Re: darci] #256581
03/17/09 16:53
03/17/09 16:53
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
vec_set(a_text.blue,vector(0,255,0));


STRING* tstr = "";
var f_scale = 25;

str_cpy(tstr,"GeorgiaMS#");
str_cat_num(tstr,"%0.fb",f_scale);
georgia_font = font_create(tstr);
a_text.font = georgia_font;

(didnt test it)

Last edited by flits; 03/17/09 16:58.

"empty"
Re: Text options [Re: flits] #256637
03/17/09 21:25
03/17/09 21:25
Joined: Nov 2007
Posts: 60
D
darci Offline OP
Junior Member
darci  Offline OP
Junior Member
D

Joined: Nov 2007
Posts: 60
thanks a lot^^


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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