Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, TraderTom, Akow), 1,388 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 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 | 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