Game Development Community

How to add game levels.

by Michael Briganti · in Technical Issues · 03/26/2009 (5:12 pm) · 1 replies

Ok, I am a little new to game engines. I have a basic understanding of C++ though. I really need a programmer to help my company with this game, but it is too hard to find one for the game so I am starting on my own.

Now I have quick question. I know that when I make a level in the mission editor, it saves it as a .mis . Can I edit the GUI so that when you click on a button, it runs a specific level by opening up that .mis file? And if so, can you provide me a link to where I can learn to do that? Or can you just teach me how to do that?

#1
03/26/2009 (5:58 pm)
Simple and easy really.

The startMission.gui displays a list where you select a mission and then hit start.

The Getting Started tutorial tells you how to load a mission from a button on the Main Menu.

But basically you need a button that calls the StartMission() function, and you'll need to determine the name of the mission to send to said function.

Look at the existing scripts & Getting Started tutorial for those implementations. You can also do a search for "load mission" here in the forums or the resources and you'll be able to browse a wealth of related information and/or alternatives.