Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Text and GUI Rotation (https://forums.graalonline.com/forums/showthread.php?t=134264044)

oo_jazz_oo 07-31-2011 10:52 PM

Text and GUI Rotation
 
When rotating text via showtext(), and using GUI controls, the behavior is...very strange.

This script
PHP Code:

new GuiMLTextCtrl("GuiText_Test") {
  
profile GuiBlueMLTextProfile;
  
  
100;
  
550;
  
  
text "<center><font size=16 color=white><b>This is a test</b></font></center>";


Produces this:
http://i.imgur.com/KaYxf.png

If you add
PHP Code:

rotation 1.575

The result is this; a scrambled mess of letters.
http://i.imgur.com/uCZ0N.png

The same happens when using rotation with showtext().
Is there some way to fix this, and rotate text without it looking like a complete mess?

DustyPorViva 07-31-2011 10:59 PM

LOL. lol

ffcmike 07-31-2011 11:03 PM

Possibly by setting rotation center?

PHP Code:

useowncenter true;
rotationcenter "x,y"

I doubt it though.

oo_jazz_oo 08-01-2011 12:35 AM

Quote:

Originally Posted by ffcmike (Post 1660991)
Possibly by setting rotation center?

PHP Code:

useowncenter true;
rotationcenter "x,y"

I doubt it though.

Still the same. :p

Playing around with it more, there seem to be a lot of things wrong with it...
If you have a rotation of .3 thru 1.4, the text just doesn't display. Same with some other numbers as well...

oo_jazz_oo 08-09-2011 10:47 PM

http://media.tumblr.com/tumblr_lav8jwxI6N1qbitum.gif
Blarghargharlargh.

Oh, why thank you Nigel for that bump.

Also, does Stefan ever look over the tech support forums? Or is there no point in bumping this thread? Because if nothing will get done, I might as well just start pming him and let this thread drop back to the middle of the page.

ffcmike 08-09-2011 10:51 PM

Quote:

Originally Posted by oo_jazz_oo (Post 1662748)
Also, does Stefan ever look over the tech support forums?

Seems to be a lottery.

oo_jazz_oo 09-08-2011 10:03 AM

http://images4.wikia.nocookie.net/__...weekslater.jpg

This is actually quite frustrating....I just wanted to display sideways text. :( Is that so hard to ask for...

Crow 09-08-2011 11:17 AM

Quote:

Originally Posted by oo_jazz_oo (Post 1667434)
http://images4.wikia.nocookie.net/__...weekslater.jpg

This is actually quite frustrating....I just wanted to display sideways text. :( Is that so hard to ask for...

It is on Graal. Even CSS can do it!

Tolnaftate2004 09-08-2011 10:17 PM

I posted about this 4 years ago. It does not seem to be a high priority.

Admins 09-09-2011 12:29 AM

Will try to fix it for DirectX9, it's working fine in OpenGL.

Crow 09-09-2011 12:31 AM

Quote:

Originally Posted by Stefan (Post 1667501)
Will try to fix it for DirectX9, it's working fine in OpenGL.

Why not remove DirectX support all together and use OpenGL for the windows version as well? DirectX seems to cause lots of trouble.

oo_jazz_oo 09-09-2011 01:01 AM

Quote:

Originally Posted by Stefan (Post 1667501)
Will try to fix it for DirectX9, it's working fine in OpenGL.

I thought the v6 client was using openGL. :oo:

It would probably be better to just use openGL...Graal seems to run better with it.

DustyPorViva 09-09-2011 01:04 AM

Has OpenGL support been improved? I dunno about anyone else but whenever I tried OpenGL with Graal it ran horribly. And I'm talking about over about 4-5 different PCs I've had over the years.

ffcmike 09-09-2011 01:21 AM

Quote:

Originally Posted by DustyPorViva (Post 1667514)
Has OpenGL support been improved? I dunno about anyone else but whenever I tried OpenGL with Graal it ran horribly. And I'm talking about over about 4-5 different PCs I've had over the years.

This was also true for me prior to V6, but I find the new version to be much faster for displays with OpenGL whereas DirectX seems to be slower than V5.

I'm not an expert on how this stuff works but idling in a level filled with 25 nickname displaying NPCs, checking through task manager I find V6 + OpenGL to be taking half as much CPU as V5 + DirectX, weirdly V6 + DirectX is about 3 times as much as V6 + OpenGL.

fowlplay4 09-09-2011 02:42 AM

There should be an option in F3 to change between DirectX and OpenGL (for Windows obv).


All times are GMT +2. The time now is 09:06 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.