|
|
|
3 registered members (TipmyPip, VoroneTZ, 1 invisible),
5,195
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Random encounter question
#426252
07/18/13 17:27
07/18/13 17:27
|
Joined: Dec 2010
Posts: 100
Dega
OP
Member
|
OP
Member
Joined: Dec 2010
Posts: 100
|
I am thinking of making a game like final fantasy or chrono trigger where the screen flashes and you encounter an enemy. It seems simple enough but was wondering if there is a recommended way. I originally am planning to make it load the level and reload the level after the battle is done. However, will it load the level back the same way?
boolean my.awesomeness = so true;
|
|
|
Re: Random encounter question
[Re: jumpman]
#426259
07/18/13 18:40
07/18/13 18:40
|
Joined: Dec 2010
Posts: 100
Dega
OP
Member
|
OP
Member
Joined: Dec 2010
Posts: 100
|
Do the variables reset after loading a new level?
boolean my.awesomeness = so true;
|
|
|
Re: Random encounter question
[Re: jumpman]
#426261
07/18/13 18:46
07/18/13 18:46
|
Malice
Unregistered
|
Malice
Unregistered
|
A method you can do is to build pocket level out side the main level and just teleport(move) the player and enemy into the pocket level and out after the fight.
Duke Nukem 3d used this method of pocket areas a lot for level reasons and tricks
Last edited by Malice; 07/18/13 19:07.
|
|
|
Re: Random encounter question
[Re: ]
#426264
07/18/13 19:32
07/18/13 19:32
|
Joined: Dec 2010
Posts: 100
Dega
OP
Member
|
OP
Member
Joined: Dec 2010
Posts: 100
|
oh nice! I think I will try that!
boolean my.awesomeness = so true;
|
|
|
Re: Random encounter question
[Re: Dega]
#426267
07/18/13 19:57
07/18/13 19:57
|
Malice
Unregistered
|
Malice
Unregistered
|
Dega you are welcome. If you do use the pocket area method keep in mind to adjust your clip ranges this will allow you to run more effects as less resources are use to render the level. Also the region functions can be helpful for making a single function for change camera and other things based on the new location of the player and kill rendering of areas outside the pocket, but they shouldn't render anyways..
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|
|
|
|