View Single Post
  #280  
Old 07-23-2005, 09:08 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally Posted by Fry
the x/y positions for showtext and showimg (and probably others) get rounded down if they are floats, for example:
//#CLIENTSIDE
function onCreated() {
showtext(0,x,y,"tempus sans itc","c","test");
showtext(0,x+0.5,y,"tempus sans itc","c","test2");
}
the two words are on the same place instead of the second one being a bit lower.
I tested this when the setlevel rounding bug was found, and it doesn't do that. Look at cheetos_showpoly.nw on #gscript. Your problem is that you're using index 0 for both images