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

Text box system #15

Open
Penguin825 opened this issue Nov 24, 2022 · 0 comments
Open

Text box system #15

Penguin825 opened this issue Nov 24, 2022 · 0 comments

Comments

@Penguin825
Copy link

Class that can be called to display text on screen

  • Text appears in a box on the bottom half/third of the screen
  • Text appears in an animation (letter by letter style)
  • Pressing the ACCEPT button causes the text to speed up
  • Pressing the DENY button skips the animation, revealing all the text at once

The class should be modular, so that any object can send a string to the text box class and cause a text box to appear (perhaps the class should have a queue.

Inputs:

  • String: causes a single dialog to appear, then close when the player presses an interact button
  • List of strings: causes a series of dialogs to appear, then closes once the player finishes reading
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

No branches or pull requests

1 participant