Change default controller keybinds for new characters. Player proceeds back to overworld if the camp has not been unlocked yet. Buttons adjusted accordingly. Rumble only occurs on the main menu while in the settings menu and only when toggling the rumble button. Cause iframes to continuously refresh on the main menu so the invisible player doesn't "die" if they view the main menu for too long. Release Build 7700.

This commit is contained in:
2024-02-27 20:10:24 -06:00
parent 3261ddf6f5
commit fa8dfd3c6f
11 changed files with 31 additions and 19 deletions
+6
View File
@@ -55,6 +55,7 @@ All rights reserved.
#include "ProgressBar.h"
#include "MenuLabel.h"
#include "GameSettings.h"
#include "Unlock.h"
INCLUDE_MONSTER_DATA
INCLUDE_MONSTER_LIST
@@ -982,6 +983,11 @@ void Player::CheckEndZoneCollision(){
endZoneStandTime+=game->GetElapsedTime();
if(endZoneStandTime>="Player.End Zone Wait Time"_F){
Component<MenuLabel>(LEVEL_COMPLETE,"Stage Complete Label")->SetLabel("Stage Completed");
if(Unlock::IsUnlocked("HUB")){
Component<MenuComponent>(LEVEL_COMPLETE,"Next Button")->SetLabel("Proceed\nto Camp");
}else{
Component<MenuComponent>(LEVEL_COMPLETE,"Next Button")->SetLabel("Proceed");
}
GameState::ChangeState(States::LEVEL_COMPLETE);
}
return;