Thursday, April 21, 2011

Scripting

http://www.youtube.com/watch?v=0f4JsvZVNag

This is the scripting tutorial I have been trying to complete and get to work over the last week. I can get to the point where I have names my program and put what it will say inside, but I can't get it to show upon my desktop. I have been searching for some others- I already have learned how to run a pygame on my computer and play it through terminal

The scripting I have done for that (for pyspaceinvaders) is as follows:

import os
os.chdir('/pyspaceinvaders')
import pyspaceinvaders

(this is after you have successfully downloaded pygame and pyspaceinvaders to your computer)
It's actually really simple compared to what I thought this would be like before.

I am continuing to look for other interesting scripts- I'm trying to find one that will show me how to write a game!

No comments:

Post a Comment