More text stuff.

posted in OMG NUB! for project Gorgon
Published April 27, 2012
Advertisement
sitelogo.pngHere's a sample of text rendering in Gorgon 2.0 (Dorian). It's rendering 16,019 characters, animated with shadowing (which doubles the character count), plus the FPS counter. When it renders the text, it renders with kerning information (provided the font has any) so the output should be properly spaced. And while it's doing this, it's scaling the text to pump up the fill rate.
All that at ~75 FPS, that's not too bad hey?
In this particular "demo" you can see that I'm able to compress and expand the lines of text. This is possible because of the new "LineSpacing" property in the text object. This allows the user to set line spacing by setting a multiplier. For example, a LineSpacing of 2.0 will give you double spacing and 0.5 will only move the lines half way.
Anyway, I'm still plowing through all of this. And I'm pretty happy with the results.

Source
Previous Entry Gorgon v1.x
Next Entry Editors
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Gorgon 3.2

10621 views

Gorgon v3.1.46.255

3800 views

Gorgon v3.1.45.248

3404 views

Gorgon v3.1.29.243

4740 views

Gorgon v3.1

4531 views

Gorgon Update #10

3526 views

Gorgon Update #9

3695 views

Gorgon Update #8

3439 views

Gorgon Update #7

3665 views

v3.0 Release

4216 views
Advertisement