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

Re: [pygame] Enter name before game starts



import easygui
playername = easygui.inputbox("Please enter your name, noble player:")
# --- start pygame ---

you can find easygui at:

http://easygui.sourceforge.net/

easygui is Tkinter-based so it will not look very pretty compared with
pygame methods. but it is easy to use :-)

greetings,
 -Horst






-- 
Horst JENS
horst.jens@xxxxxxxxxxxxxxxxxxxxxxxxx
http://www.spielend-programmieren.at

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil