Hey there guys. I have come to a bit of a snag in my game. I am trying to make a Tales style of RPG where the player will essentially have 3 modes. A "Battle" mode, an "Exploration" mode, and a "Cutscene" mode. Since I have mostly been focusing on the games combat, I already have the "Battle" mode completed. The problem, however, is with the other modes.
What do you guys think the best way to execute this style would be? My goal is to have the player running around the world until he touches an "Enemy" entity. Once the entity is touched, the game then goes to the Battle Arena level, and once the player wins the game re loads the last position in the last world he was in. It's hard for me to describe, so here is a quick video demonstrating what I am talking about.
Demonstration I currently have the "Main" script act as the test level for my combat system. Should I make three seperate scripts for all three modes? I was thinking of using a "Mode" variable. Something like this...
var mode = 0;
function game_modes()
{
IF (mode ==1)
{
\\Exploration code goes here.
}
IF (mode ==2)
{
\\Combat code goes here.
}
IF (mode ==3)
{
\\Cutscene code goes here.
}
I am NOT asking for code or anything, merely advice on the best way to achieve this style. Thanks for your help guys, cheers.