Jump to content
xisto Community
Sign in to follow this  
beeseven

Pygame

Recommended Posts

Pygame is a library for Python designed with the intent of programming- you guessed it- games. I've looked through some tutorials and it looks pretty easy, at least compared to Java with which I've made a couple games. For example, there are built in functions to determine collisions and you don't need to bother with three or four different listeners. I'd like to make something using Pygame, but I can't get it to install. There's more about it at the website: http://www.pygame.org/news.html, and good tutorials at http://www.learningpython.com/category/python/pygame/ and http://forums.xisto.com/no_longer_exists/

Share this post


Link to post
Share on other sites

Now I've gotten it to install but for some reason I can't draw basic shapes. I'm also interested in more in-depth tutorials if anyone knows of any or is also looking.

 

Edit: I learned a lot from looking at the source of http://www.codesampler.com/source/pyg_star_wars.zip, which can be found on http://www.codesampler.com/python.htm along with many other python and pygame tutorials. I made a simple little Mega Man thing (you can only move and shoot, though):

Posted Image

After I made that I started working on an original project. Pygame makes a lot of things really easy and that's combined with Python's inherent easiness. I seriously recommend this to anyone who's not really comfortable with more complicated languages.

Edited by beeseven (see edit history)

Share this post


Link to post
Share on other sites

I started working with pygame, but I quickly gave up in favor of the simpler gamemaker. I realize that gamemaker may not support they expansion that pygame would allow but gamemaker is really quite simple with a adaquate amount of power. Have you figured out what the problem with you install was? I know when I went to work with pygame I had to go back a version to python 2.3.

Share this post


Link to post
Share on other sites

That mega man game looks nice. Did you make the graphics? How do you make graphics in programming languages like these? Im kind of used to flash , and since those other programs dont have anything like the tools in flash I dont know how they work.

Share this post


Link to post
Share on other sites

im wanting to make a text based rpg in python is pygame a good option... i would want to have some pictures in it like what monster you are fighting or were u are.. like maby some consept art but mainly text based im pritty new at programming im doing software for yr 11 at school and i know a little bit.. any advise?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.