Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 13 votes, 4.69 average. Display Modes
  #1  
Old 05-19-2011, 05:33 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Crow View Post
Images on the GUI layers look strangely distorted when their x/y coordinate(s) has/have any decimals in them (like 200.5 or something). This is pretty annoying considering that such values come up quite frequently when using formulas like "GraalControl.width / 2" to get the center of the main window. Images on GUI layers should just stick to the "pixel grid", auto-convert to integer values; whatever you want to call it.
Bringing this up again. I'd like a statement from you, Stefan, on this issue.
Reply With Quote
  #2  
Old 05-19-2011, 07:28 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Crow View Post
Bringing this up again. I'd like a statement from you, Stefan, on this issue.
GUI controls don't work in sub-pixels, therefore do not expect them to behave properly when you give them sub-pixel values. Use integers instead.
__________________
Skyld
Reply With Quote
  #3  
Old 05-19-2011, 07:43 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
I'm not even talking about GUI controls, I'm talking about GUI layers (4 and above). Obviously they end up having floating point coordinates when doing some math to place them (like I've explained above) and I'd really like to avoid going through my code and call int() on all that stuff. I'd just like the v5 behavior of this back, since it didn't happen with v5. Here's an example:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
with (findImg(200)) {
    
image "block.png";
    
32.5;
    
layer 4;
  }


Edit: On another note, I believe the displacement/distortion bug only happens when using DirectX. I'll test a bit later.

Last edited by Crow; 05-19-2011 at 07:57 PM..
Reply With Quote
Reply

Tags
graal v6, windows


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:29 AM.


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