Esempio n. 1
0
void Scene_Title::CommandNewGame() {
	if (!CheckValidPlayerLocation()) {
		Output::Warning("The game has no start location set.");
	} else {
		Game_System::SePlay(Main_Data::game_data.system.decision_se);
		Game_System::BgmStop();
		Player::SetupPlayerSpawn();
		Scene::Push(EASYRPG_MAKE_SHARED<Scene_Map>());
	}
}
Esempio n. 2
0
void Scene_Title::CommandNewGame() {
	if (!CheckValidPlayerLocation()) {
		Output::Warning("The game has no start location set.");
	} else {
		Output::Debug("Starting new game");
		Game_System::SePlay(Game_System::GetSystemSE(Game_System::SFX_Decision));
		Game_System::BgmStop();
		Player::SetupPlayerSpawn();
		Scene::Push(EASYRPG_MAKE_SHARED<Scene_Map>());
	}
}
Esempio n. 3
0
void Scene_Title::CommandNewGame() {
    if (!CheckValidPlayerLocation()) {
        Output::Warning("The game has no start location set.");
    } else {
        Game_System::SePlay(Main_Data::game_data.system.decision_se);
        Audio().BGM_Stop();
        Graphics::SetFrameCount(0);
        CreateGameObjects();
        Game_Map::Setup(Data::treemap.start.party_map_id);
        Main_Data::game_player->MoveTo(
            Data::treemap.start.party_x, Data::treemap.start.party_y);
        Main_Data::game_player->Refresh();
        Game_Map::Autoplay();
        Scene::Push(EASYRPG_MAKE_SHARED<Scene_Map>());
    }
}