Gunslinger Solitaire

Miscellaneous Forums/Blitz Showcase/Gunslinger Solitaire

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

When you set up your Enter Name Prompt, are you calling MakeCharsFileNameSafe()? Like this:

	Local d:TDialogTextInput = TDialogTextInput.Create("", "", 12, ccLoadBitmap(Game.ImagePath+"dialogs/enteryourname.png"),0,0,0,MAX_NAME_WIDTH)
	'Ban some troublesome chars that could crash the filename.
	d.TextInput.MakeCharsFileNameSafe()



That will ban these chars: "|*\/:;~~?<>,+=%

All others on a UK keybaord work (I tested) however, I'll be interested to see if Roman has found others that crash...