Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Quad), 509 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problem with text flag CENTER_Y #321804
05/02/10 16:23
05/02/10 16:23
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline OP
Senior Member
Clemens  Offline OP
Senior Member

Joined: Sep 2003
Posts: 303
Germany
CENTER_Y only does work, when not using line breaks, not using defined (TT-)font, (and not using WWRAP,) like:

Code:
TEXT* test_Simple_works = {
	flags = SHOW | CENTER_Y;
	string("Hans im Glück!");
}



The following don't work for me:

Code:
TEXT* test_Linebreak = {
 pos_x = 240;
 blue=0; green=0; red=255;
	flags = SHOW | CENTER_Y;
	string("Hans im Glück! \nFrau Holle");
}

TEXT* test_TTfont = {
 pos_x = 120;
 blue=0; green=0; red=255;
	flags = SHOW | CENTER_Y;
	string("Hans im Glück!");
	font("Arial#20");
}
TEXT* test_WWRAP = {
 pos_x = 360;
 blue=0; green=0; red=255;
	flags = SHOW | CENTER_Y | WWRAP;
	string("Hans im Glück! Frau Holle");
	font("Arial#20");
	size_x = 20;
}



Who can replicate this at his/her system?

P.S. CENTER_X works fine!

Re: Problem with text flag CENTER_Y [Re: Clemens] #321906
05/03/10 11:46
05/03/10 11:46
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
That flag is for bitmap fonts only - see manual.

But you're right with the multiline text. This will be fixed.

Bug found, now Feature request: CENTER_Y for TTF [Re: jcl] #321937
05/03/10 18:05
05/03/10 18:05
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline OP
Senior Member
Clemens  Offline OP
Senior Member

Joined: Sep 2003
Posts: 303
Germany
Nice laugh but is there a chance for having CENTER_Y for TT fonts (like CENTER_X) in the future?

By the way (belongs to "blame the manual"): the german manual says that CENTER_X works only for bitmap fonts...
(that's probably the reason -> after CENTER_X worked fine with TT fonts I've expected the same with CENTER_Y)
...have to accustom me to read the english manual when having complications wink

Re: Bug found, now Feature request: CENTER_Y for TTF [Re: Clemens] #329103
06/17/10 16:12
06/17/10 16:12
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Was there any answer on the CENTER_Y for TTF ?

Re: Bug found, now Feature request: CENTER_Y for TTF [Re: Rei_Ayanami] #329164
06/18/10 08:10
06/18/10 08:10
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Yes.

Re: Bug found, now Feature request: CENTER_Y for TTF [Re: jcl] #331264
07/02/10 22:13
07/02/10 22:13
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline OP
Senior Member
Clemens  Offline OP
Senior Member

Joined: Sep 2003
Posts: 303
Germany
Does Yes. mean:
-"Yes, there was an answer: It only exists for bitmap fonts!"
Or:
-"Yes, there will be a CENTER_Y for TFT!"
?!?

Re: Bug found, now Feature request: CENTER_Y for TTF [Re: Clemens] #331580
07/05/10 08:27
07/05/10 08:27
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
It means yes, CENTER_Y will work for TTF also.

NEW Feature: CENTER_Y for TTF [Re: jcl] #331609
07/05/10 12:42
07/05/10 12:42
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline OP
Senior Member
Clemens  Offline OP
Senior Member

Joined: Sep 2003
Posts: 303
Germany


Moderated by  jcl, Nems, Spirit, Tobias 

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