Restart game

Mar 17, 2013 at 1:34 AM
Hi again,
I have troble with start new game. For example, when I die, I want to restart level without exit game and launching game again.
How to do this?

Thanks
Josepf
Coordinator
Mar 17, 2013 at 3:02 AM
How to accomplish that is really dependent on the game you're making. One feature that hasn't been implemented yet is loading scenes from a file, instead scenes are still being loaded from code. The "SampleScene.cs" is a temporary solution that houses the code to load the scene and handle some of the logic for the demo. You will probably want to make your own scene file, and if you create a function for resetting your scene, and another function for loading all of your objects, then you could call those whenever you wanted to reset a level.

On Sat, Mar 16, 2013 at 7:34 PM, joujo1212 <notifications@codeplex.com> wrote:

From: joujo1212

Hi again,
I have troble with start new game. For example, when I die, I want to restart level without exit game and launching game again.
How to do this?

Thanks
Josepf

Read the full discussion online.

To add a post to this discussion, reply to this email (QuickStartEngine@discussions.codeplex.com)

To start a new discussion for this project, email QuickStartEngine@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com