• Problem with dancing fonts
    0 replies, posted
Hi dear facepunch community! I need a little help. The problem is than text i've created is dancing (see screenshots). Here is code: [CODE] surface.CreateFont("New_font", {font = "DermaDefaultBold", size = 21, weight = 700, antialias = f, blursize = 0, scanlines = 0, }) local function ShadowedText(text, font, x, y, color, xalign, yalign) shadowcolor = colormode.shadowcolor draw.SimpleText(text, font, x+2, y+2, shadowcolor, xalign, yalign) draw.SimpleText(text, font, x, y, color, xalign, yalign) end text = "1088" ShadowedText(text, "New_font", ScrW() / 2 - x / 2 + x/2, 30 + y/1.5 + 12, Color(255,255,255,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) [/CODE] [IMG]http://i57.tinypic.com/nysrqw.png[/IMG]
Sorry, you need to Log In to post a reply to this thread.