Game Development Community

Need help with game :)

by programerblizz · in Torque 3D Professional · 12/06/2015 (7:03 pm) · 1 replies

Hi, everyone. How do I make my game start from a level instead of starting with all the maps screen, because I wanted the game to start from a level, where do I go to change this, I have torsion but not sure what file to edit. All so How can I make my game save, so when someone has to stop the game they can go back to it. Thank you

#1
01/05/2016 (7:22 pm)
Go to Scripts -> gui -> chooseLevelDlg.cs and read that one through. You should quickly get an idea.

Also this code here:
schedule(7000,0,StartLevel,"levels/yourMissionName.mis");

Should give you an idea how to be more creative.

Two resources for saving the game(not a complete solution as you need to understand the idea behind this and then rework it so you save and load the data that you want):

http://www.garagegames.com/community/resources/view/21451

http://www.garagegames.com/community/resources/view/21450
Remember to thank Steve Acaster for those :O)