Game Development Community

1.1 Preferences problem

by Vern Jensen · in Torque Game Builder · 08/12/2006 (4:30 pm) · 2 replies

I've been having this problem sometimes. It might be related to me renaming me project in the Finder. In any case, when I load my project, I have to open the level, and when I do Save then test the game, I get this error:

Compiling tools/leveleditor/preferences/prefs.cs...
tools/leveleditor/preferences/prefs.cs Line: 20 - parse error
>>> Advanced script error report. Line 20.
>>> Some error context, with ## on sides of error halt:
$levelEditor::LastLevelExampleWhackAMole = "ExampleWhackAMole/data/levels/Level1.t2d";

$levelEditor::LastLevelFishDemo = "FishDemo/data/levels/Level9.t2d";

$levelEditor::LastLevelgravdemo = "gravdemo/data/levels/baseLevel.t2d";

$levelEditor::LastLevelGumdrops! = "Gumdrops!/data/levels/level1.t2d";

##$##levelEditor::LastLevelscrollerDemo = "scrollerDemo/data/levels/backup.t2d";

$levelEditor::LastLevelvernShooterTutorial = "vernShooterTutorial/data/levels/Level1.t2d";

$levelEditor::LastLevelvernSpaceGame = "vernSpaceGame/data/levels/Level1.t2d";

$levelEditor::LastLevelVernTilemapTest = "VernTilemapTest/data/levels/verntest.t2d";


And then the next time I open my project ("Gumdrops!" above), I have to open my level again, because it doesn't do it for me.

-Vern

#1
08/12/2006 (4:45 pm)
I realized the problem was due to an ! symbol in the game's name. I had renamed the project to "Gumdrops!" in the Finder, and apparently Torque doesn't like this.
#2
08/12/2006 (5:22 pm)
Yes most operating systems prefer that you don't use special characters in names. It's really best to stick to just Alpha Numerical characters and substitute spaces for underscores in all names, and then you never have a problem