3 Commits

Author SHA1 Message Date
4cc6d4fc39 Merge branch 'master' into journal_ui 2023-07-09 12:08:58 +02:00
a00e4a6e98 Fix quest retry 2023-07-09 12:05:51 +02:00
6bbadefa3e Fix journal UI scaling 2023-07-08 22:38:35 +02:00
8 changed files with 250 additions and 1479 deletions

BIN
Assets/Images/Adventurers/Adena.png (Stored with Git LFS)

Binary file not shown.

BIN
Assets/Images/Adventurers/Amadeus.png (Stored with Git LFS)

Binary file not shown.

BIN
Assets/Images/Adventurers/Derk.png (Stored with Git LFS)

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -95,7 +95,9 @@ public class Journal : MonoBehaviour
bool success = QuestManager.Instance.RunQuestWithAdventurer(m_availableAdventurers[m_selectedAdventurer], activeQuest);
Debug.Log("THE QUESTR ESULT WAS: " + success);
adventurerPage.gameObject.SetActive(false);
if(success)
questPage.Find("QuestResult").gameObject.SetActive(true);
if (success)
{
questPage.Find("QuestResult/NextQuest").gameObject.SetActive(true);
questPage.Find("QuestResult/RetryQuest").gameObject.SetActive(false);
@@ -106,7 +108,7 @@ public class Journal : MonoBehaviour
}
questPage.Find("QuestResult/QuestResultText").gameObject.GetComponent<TMP_Text>().text = success ? activeQuest.successStr : activeQuest.failedStr;
questPage.Find("QuestResult").gameObject.SetActive(true);
}
public void StartNextQuest()

BIN
Krita Files/Adventure Cat.png (Stored with Git LFS)

Binary file not shown.

BIN
Krita Files/Rufus.png (Stored with Git LFS)

Binary file not shown.

BIN
Krita Files/Sketches.kra (Stored with Git LFS)

Binary file not shown.