Page 1 of 1
How to access specific parts of your game?
Posted:
Tue Nov 13, 2012 8:56 pm
by DJDragon430
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!
Re: How to access specific parts of your game?
Posted:
Tue Nov 13, 2012 9:11 pm
by skydereign
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.
Re: How to access specific parts of your game?
Posted:
Wed Nov 21, 2012 9:11 am
by REDNSX
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.
Re: How to access specific parts of your game?
Posted:
Wed Nov 21, 2012 6:56 pm
by skydereign
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).
Re: How to access specific parts of your game?
Posted:
Wed Nov 21, 2012 9:43 pm
by REDNSX
I do Exeter the region when the character dies. How would I save the actors that were destroyed. ?