Dialogue Box - UQcsse3200/2024-studio-2 GitHub Wiki

Dialogue Box

The DialogueB ox is a key communication tool in the game, ensuring that players receive important information in a clear and intuitive manner. Whether navigating complex quests, receiving combat instructions, or interacting with NPCs, the Dialogue Box keeps players informed and engaged, enhancing their overall experience in the game world.

Buttons

There are two states for a dialogue box button. The default state (left) and state when the player hovers their mouse over the button (right).

blue-button blue-button-hover

Text

The text that is being displayed to the player will be shown in a larger blue bar as can be seen below:

blue-button

Key Features of the Dialogue Box:

  • Interactive Chat: Players can interact with the messages at their own pace, using forward and backward buttons or keyboard shortcuts (left and right arrow keys) to scroll through the dialogue.
  • Dynamic Resizing: The Dialogue Box automatically adjusts its size to fit the screen resolution, ensuring it remains visually appealing and easy to read, regardless of the device or screen size.
  • Triggerable Events: Dialogue boxes can be triggered by specific in-game events, like interacting with an NPC, entering a new area, or receiving mission updates.
  • Supports Mini-Games: In some cases, dialogue boxes may include buttons to launch mini-games, adding an interactive layer to the story and gameplay.

Programming guide

In order to use the dialogue box or access it suitably please see the retrospective programming guide.

⚠️ **GitHub.com Fallback** ⚠️