This simple code shows how to write text with a given font, font size and color using the module pygame ...
Tags: python tutorial gamedev pygame. This is part 7 of. In this lesson we'll start keeping score and learn how to display text on the screen. It's drawing the text on top of the other text because that's exactly what you're doing. Pygame works by drawing the stuff on the screen, then actually showing it.
2,936 Views Scientist
Wow, this actually helps me quite a lot. Thank you for sharing
![Pygame Print Text Screen Pygame Print Text Screen](/uploads/1/2/6/3/126344937/854675714.png)
I took the liberty of improving the code above to make it easier to reuse. I release this code as is under GPL version 2 license. Please credit me if you use this code.
Thank you,
Lee Allen
Lee Allen
it's kinda improper for you to say that things lsallen, because daniweb is a free source code website, so, I don't think that any1 will 'steal' your code and sell it on ebay...
sorry its a force of habit i used it be into making source code that was my hidden secret that was until i found out about and started to use linux
Thanks, easy to understand, well commented - just what I needed.