Game Development Community

loadScene error

by Sergey M · in Torque Game Builder · 11/08/2009 (7:07 pm) · 0 replies

Hi,

What I do doing is just run my level, open console and type:

mySprite.visible = 0;
SceneWindow2D.getSceneGraph().saveScene("myscene.txt");

I've got that file in the game directory

mySprite.visible = 1;
SceneWindow2D.getSceneGraph().loadScene("myscene.txt");

It causes an error: "Could not Open File 'myscene.txt' for Scene-Load"
What's my mistake?

Thank you!

About the author

Recent Threads