Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / any way to cut lag when switching between font faces frequently?

Author
Message
oneiro naut
16
Years of Service
User Offline
Joined: 19th Aug 2008
Location:
Posted: 30th Jan 2009 19:10
so my static HUD utilizes two different font faces.
i have a 'attack menu' of sorts with ONE font, and a static 'health meter' with ANOTHER font, and refreshing both of these things in each frame seems to cause nightmare-ish lag. :{

is there a trick to avoid this lag, or do i need to just embrace a one-font-fits-all HUD?

thanks in advance if anyone can help me here. :}
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 30th Jan 2009 20:07
Only advice I can give here is in recommending Cloggy's D3D library.

http://forum.thegamecreators.com/?m=forum_view&t=69221&b=5

Your signature has been erased by a mod because it's larger than 600x120
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 30th Jan 2009 20:26
only other way is to make the words you use an image and paste them per loop.

Dark Physics makes any hot drink go cold.
oneiro naut
16
Years of Service
User Offline
Joined: 19th Aug 2008
Location:
Posted: 30th Jan 2009 21:58
why thank you. this is wonderful, you've also solved my anti-aliasing text issue! thanks. :}

Login to post a reply

Server time is: 2024-11-24 14:46:37
Your offset time is: 2024-11-24 14:46:37