DRincs-Productions / pixi-vn

Create visual novels with a modern 2D rendering engine and your favorite JavaScript framework.
https://pixi-vn.web.app/
GNU General Public License v3.0
10 stars 0 forks source link

TextInput #212

Closed BlackRam-oss closed 20 hours ago

BlackRam-oss commented 3 weeks ago

Thinking about it I decided that the implementation of "TextInput", that is, asking the user to enter a value, must be managed by pixi-vn and not by the interface.

The reason is that in this way the value of the response can be inserted into the history and also simplifies its implementation.

To be implemented, 2 values ​​should be added to the storage:

  1. "require input": a boolean that if true, the interface must show an input. This value does not affect canGoNext and must be set to false at every go next.
  2. "input value": is the value of the input taken