Python How can I add pictures to my python game using JGrasp and PyGame?

  • Thread starter Thread starter ignacio_cabero
  • Start date Start date
  • Tags Tags
    Pictures Python
AI Thread Summary
To incorporate images into a text-based video game using Python, utilizing the PyGame library is recommended for its comprehensive functionality. For simpler needs, the Python Image Library (PIL) can be employed to display images without the complexity of a full game framework. Both resources provide essential tools for integrating graphics into Python projects effectively.
ignacio_cabero
Messages
3
Reaction score
0
Hello. I am creating a text-based video game using python, and I was wondering how I could put pictures from my Mac into the game. I am using JGrasp if it helps to know.
 
Technology news on Phys.org
Take a look at the PyGame library
http://www.pygame.org/news.html

If that's too heavyweight and you *just* want to show an image then you can use Python Image Library

http://www.pythonware.com/products/pil/
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...

Similar threads

Back
Top