Added tutorial tooltips. Release Build 7758.

This commit is contained in:
2024-02-28 19:22:03 -06:00
parent fecabce054
commit 4b3b36bdfd
24 changed files with 441 additions and 52 deletions
+4
View File
@@ -45,6 +45,7 @@ All rights reserved.
#include "GameEvent.h"
#include "MenuComponent.h"
#include "Unlock.h"
#include "Tutorial.h"
INCLUDE_MONSTER_LIST
INCLUDE_game
@@ -79,6 +80,9 @@ void State_GameRun::OnLevelLoad(){
Component<MenuComponent>(MenuType::PAUSE,"Return to Camp Button")->SetGrayedOut(
!Unlock::IsUnlocked("HUB")||game->GetCurrentMapName()=="HUB"
);
if(!Tutorial::TaskIsComplete(TutorialTaskName::MOVE_AROUND)){
Tutorial::SetNextTask(TutorialTaskName::MOVE_AROUND);
}
}
void State_GameRun::OnUserUpdate(AiL*game){
game->bossDisplayTimer=std::max(0.f,game->bossDisplayTimer-game->GetElapsedTime());