Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Sample #1

wants to merge 3 commits into from

Conversation

nknguyenhc
Copy link
Contributor

@nknguyenhc nknguyenhc commented Dec 28, 2023

Here are roughly the steps:

  1. Install addon Dialogue Manager from Godot library manager.
  2. Create StateManager class to manage the game states, with Singleton pattern. This is so that it can be accessed in the dialogues, and the instance allows signals to be emitted to the game objects.
  3. Connect the custom signals to the game node in _ready function.
  4. Create Dialogue class to manage the logic to create dialogue.
  5. Create actual dialogues in the editor. Call methods of StateManager where applicable.
  6. Create the actual game objects and put them in the game (i.e. trigger objects)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant