I have an idea on how to initialize an rpg but i would like some feedback an any ideas will be appreciated.
Ok, i would use a variable to hold what state the player is in, whether he is roaming the world or he is in a battle. I would use a 3d vector to store the players position in world coordinates and a next 3d vector to store his position on the battle. what i would do is when a random battle is iniated, i will position the player far off somewhere in the directx world on a battle ground that will be so far that the world that the player explores will not be able to be seen and when hes in battle mode, his world coordinates will not change but his battle position will change. And when the battle has ended i will position the player at his last world coordinates and his battle coordinates will get reset. So what do you'll think? Im sorry if i wasnt clear enough.
Ok, i would use a variable to hold what state the player is in, whether he is roaming the world or he is in a battle. I would use a 3d vector to store the players position in world coordinates and a next 3d vector to store his position on the battle. what i would do is when a random battle is iniated, i will position the player far off somewhere in the directx world on a battle ground that will be so far that the world that the player explores will not be able to be seen and when hes in battle mode, his world coordinates will not change but his battle position will change. And when the battle has ended i will position the player at his last world coordinates and his battle coordinates will get reset. So what do you'll think? Im sorry if i wasnt clear enough.