October 10, 2024, 02:40:35 PM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Forum rules
-
please read before posting, it can save you a lot of time.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Startup Scene
« previous
next »
Pages: [
1
]
Print
Author
Topic: Startup Scene (Read 9521 times)
0 Members and 1 Guest are viewing this topic.
Dan Peach
Regular poster
Karma: 4
Offline
Posts: 100
Startup Scene
«
on:
April 07, 2019, 08:44:53 PM »
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?
Logged
www.coldwinterwaiting.com
www.viperante.com
Dan Peach
Regular poster
Karma: 4
Offline
Posts: 100
Re: Startup Scene
«
Reply #1 on:
April 07, 2019, 08:52:14 PM »
Ok, I solved this. But the board won't let me delete the post.
Logged
www.coldwinterwaiting.com
www.viperante.com
power
Lurker
Karma: 0
Offline
Posts: 11
Re: Startup Scene
«
Reply #2 on:
May 10, 2019, 04:29:40 PM »
Could you tell us how did you solve this problem?
Logged
Dan Peach
Regular poster
Karma: 4
Offline
Posts: 100
Re: Startup Scene
«
Reply #3 on:
August 06, 2019, 01:58:46 AM »
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
)
;
Logged
www.coldwinterwaiting.com
www.viperante.com
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Startup Scene