hello ,
im planning to do a rpg game but using “land mine” type to get in a battle,
for example ,
my character is walking around the map, and suddenlly he “meet enemy” so enter a battle scene.
like this video: http://www.youtube.com/watch?v=O8Wu8TbVgT4
how do I make it, I need some easy sample to get me started on the project.
Assign the world into grids, then when a player meets enemy, load the level based on the grid it got. Then when the fight is done, load back the main level?
but if i load new scene,
all of the old stuffs will be reset,
for example , if I move a box to some place , after a fight the box will be reset to the default place.
Then load the new scene additively and just hide your current one.
One possible idea would be putting the battlefield out of the player’s view, like an extra area of the current level with a separate camera. Once fighting begins, move the player to this area and set its camera as active camera (maybe do a fade-out/-in in between). Your game world is still running (pausing) in the background and you can return to it after the battle.
Maybe not the most elegant solution, but should be easy to implement.
thanks a lot , i will try all you said.
and if you find more ways to do this plz tell me.
thank for your help!