How to access specific parts of your game?

Non-platform specific questions.

How to access specific parts of your game?

Postby DJDragon430 » Tue Nov 13, 2012 8:56 pm

Hey, Game Editor community!

I was wondering, as your game gets larger in scope, how can you jump in and test specific levels that are later on in the game, so you don't have to play all the way from the beginning just to test that one level?

Thanks!
DJDragon430
 
Posts: 1
Joined: Sat Sep 08, 2012 9:40 pm
Score: 0 Give a positive score

Re: How to access specific parts of your game?

Postby skydereign » Tue Nov 13, 2012 9:11 pm

If you have a levels in your game, then you should have a way of loading them. This is good for testing levels as you build them, as well as it allows you to replay levels easily (something you often find in games). All you need is a function to move the view to the level, and perhaps setup the player and any variables necessary.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: How to access specific parts of your game?

Postby REDNSX » Wed Nov 21, 2012 9:11 am

How would you get a game to start over in a level you want without having to reload all? Basically I have all my levels in one file but in that file I have the character selection and level selection. The problem is every time I lose I have to start over with character selection and level selection. Is there a way to have it reload when you die and just go to the level it died on. If I just use move view to start it will move the view but all the bad guys that I killed I'll not be there any more so its not what I want. I just want it to be like it was all reloaded but without having to start from scratch.
User avatar
REDNSX
 
Posts: 237
Joined: Sun Feb 13, 2011 3:03 am
Score: 7 Give a positive score

Re: How to access specific parts of your game?

Postby skydereign » Wed Nov 21, 2012 6:56 pm

If I recall correctly you are using activation regions? If so then you could exit the region, and enter it again, through code instead of user input. Otherwise you'll need to create a reloading system for your game (which involves saving all of the objects in the level).
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: How to access specific parts of your game?

Postby REDNSX » Wed Nov 21, 2012 9:43 pm

I do Exeter the region when the character dies. How would I save the actors that were destroyed. ?
User avatar
REDNSX
 
Posts: 237
Joined: Sun Feb 13, 2011 3:03 am
Score: 7 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron