Wintermute Engine > Technical forum

Startup Scene

(1/1)

Dan Peach:
I can't get the startup scene to change at all. It will update in ProjectMan and in default.game to say what the new scene is, but when I click run or compile the game, it just uses an old scene. I don't understand this. The game has got to get the startup scene from somewhere, so where does it get it from if not default.game? Where could the old scene still be linked?

Dan Peach:
Ok, I solved this. But the board won't let me delete the post.  :-[

power:
Could you tell us how did you solve this problem? :)

Dan Peach:
Hey - sorry for not checking the board sooner.  :(

I was setting the startup scene in game.script to a specific scene, so it always loaded that scene instead of the startup scene specified in the project settings. So, I changed that line in the script to:


--- Code: WME Script ---// which scene to load?Game.ChangeScene(Game.StartupScene); 

Navigation

[0] Message Index

Go to full version