[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Enter name before game starts



A super kludgey way:

name = raw_input("Type your name here -> ")

If you want a graphical interface, just make a simple looping program to do so before the main enters.  It's not too hard (especially in comparison to what the rest of your code likely looks like!)  I've used this technique quite successfully in some of my games. 

Ian