Python Forum

Full Version: Lots of text objects?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there.

Im writing a monitor app, it gathers loads of data and gives a graphical representation. And, I'd like to add certain numbers as text. I'll need well over 100 different text objects.

So I really have to create 100+ text surfaces of each value and blit them to the main surface? Or is there a way to create a text layer, add all the text and just overlay this?

Or just a simple method that will draw text on the main surface?

Thanks.
Are you using pygame? Your question sounds very library-specific.