3
$\begingroup$

I am making a game with several scenes. How do I tell blender which scene to start the game in? (For some reason, it won't start the internal player in the pause or intro scene).

$\endgroup$
4
  • $\begingroup$ For one, you could just move things over to different layers and have the game start on the first scene. Seeing as how you have an intro screen, it looks like you have got the buttons all worked out. Can you teach me how to do that? $\endgroup$
    – Nefer007
    Commented Apr 16, 2015 at 21:38
  • 2
    $\begingroup$ doesn't just being in that scene that you want as the start make it the start scene? $\endgroup$
    – ruckus
    Commented Apr 16, 2015 at 23:29
  • 1
    $\begingroup$ Inside blender it does. I'm not sure about when I package it however. I could test it myself, but I was just wondering if there was a way to guarantee that one would start before another. $\endgroup$ Commented Apr 17, 2015 at 0:23
  • 1
    $\begingroup$ hmmm.... i would just make a simple scene(s) to test which it default loads into. if you don't want to i will when i get home. $\endgroup$
    – ruckus
    Commented Apr 17, 2015 at 20:29

2 Answers 2

1
$\begingroup$

If you are using the "Save As Game Engine Runtime" Extension/Add-on to export your game to an .exe/.app the program should start on the scene you had open/active in your blender program when you exported it.

So before exporting your game:

  • Select the scene you would like start your program in.
  • File > Save (Save your blend file.)
  • File > Export > Save As Game Engine Runtime

I tested this on Windows 10 it should be the same on all systems but just FYI.

$\endgroup$
1
$\begingroup$

You can set up a logic brick "always" and connect it to a "scene" actuator to set the scene.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .