• Frametime on Fonts?
    3 replies, posted
Is it possible to use FrameTime() to change the text size? Like for a smooth transitioning. I tried changing the font settings with [code]size = math.Approach(32, 44, 50*FrameTime())[/code] That obviously did nothing.
You can't change the size of the actual font, I don't think. Only the size that it is rendered. (ie. cam.Start2D3D)
You could use matrices to scale the text. That's your only option I believe. You can find some examples here: [url]http://wiki.garrysmod.com/page/cam/PushModelMatrix[/url]
[QUOTE=Robotboy655;44799910]You could use matrices to scale the text. That's your only option I believe. You can find some examples here: [url]http://wiki.garrysmod.com/page/cam/PushModelMatrix[/url][/QUOTE] That helped alot, thanks.
Sorry, you need to Log In to post a reply to this thread.