Add confirmation dialogs #86

Closed
opened 2021-04-11 10:40:08 +02:00 by kazhnuz · 0 comments
Owner

These dialogs would be some kind of custom object with a self-contained fake menu, giving two options. The API would be the following

  • Message
  • first option
  • first option label (optional, default: yes)
  • second option (optional, default: a dismiss function)
  • second option label (optional, default: no)

These functions would do their function, and then wait ~0.1 second before giving back the the focus to the scene, in order to make sure that there is no input bleeding.

The message will be two~three line max (or maybe I can add an optional n-line option ?)

They'll be used:

  • For game over message (replacing the current custom menu)
  • To drop items
  • To exit without saving
  • To delete the current save
These dialogs would be some kind of custom object with a self-contained fake menu, giving two options. The API would be the following - Message - first option - first option label (optional, default: yes) - second option (optional, default: a dismiss function) - second option label (optional, default: no) These functions would do their function, and then wait ~0.1 second before giving back the the focus to the scene, in order to make sure that there is no input bleeding. The message will be two~three line max (or maybe I can add an optional n-line option ?) They'll be used: - For game over message (replacing the current custom menu) - To drop items - To exit without saving - To delete the current save
kazhnuz added the
2. Deliverable
1. Feature
labels 2021-04-11 10:40:08 +02:00
kazhnuz added this to the 0 - Basic engine project 2021-04-11 10:40:12 +02:00
Sign in to join this conversation.
No description provided.