Greetings!
I'm working on a game using PySFML, I'm trying to change the font of a sf.String variable but python.exe stops working without an error message.
Here is what I've written:
font = sf.Font()
font.LoadFromFile('my_downloaded_font.ttf', 50)
self.welcomemsg = sf.String("Welcome, "+self.lastplayer, font)
Thanks for any help.
UPDATE: I almost forget it, I'm using IDLE (python 2.7), Windows 7 and PySFML 1.6
UPDATE: Everything's OK when I do this:
font = sf.Font()
font = sf.Font.GetDefaultFont()
#font.LoadFromFile('my_downloaded_font.ttf', 50)
self.welcomemsg = sf.String("Welcome, "+self.lastplayer, font)