diff --git a/tasks/TASK/000/TASK-012.md b/tasks/TASK/000/TASK-012.md new file mode 100644 index 00000000..519c086b --- /dev/null +++ b/tasks/TASK/000/TASK-012.md @@ -0,0 +1,19 @@ +--- +title: support keyboard keys +status: todo +priority: high +--- + +# Description + +in vn usually usually you can use keyboard to do basic navigation. +need to implment keyboard events and handle them with actions +we should add a spec to do a demo for something like this: + +- press space to hide/show dialogue box +- press enter to call nextLine + +we should create a new resource type or something to configure keyboard settings. for example in the menu page, I would use a certain settings of keybords, in the reading page I use a different one, so it should be possible to switch from one to another. + + + diff --git a/tasks/TASK/000/TASK-013.md b/tasks/TASK/000/TASK-013.md new file mode 100644 index 00000000..00d62e1f --- /dev/null +++ b/tasks/TASK/000/TASK-013.md @@ -0,0 +1,46 @@ +--- +title: support variables +status: todo +priority: medium +--- + +# Description + +we have some variables related code implemented but is mostly broken, we need to do it properly. + +## Persistence + +there are 3 types of variebles persistence: + +runtime/story: +- reset on every game/story start +- needs to be saved in save data +- example: + - flags on which actions user performed + - in game point systems + + +device +- stored per device, saved globally in device +- will persist over restarts +- not saved in save data +- examples: + - audio volume + - text display speed + +global +- persists across game/story starts +- unlike device, should be tied to the user in cloud systems. +- example: + - show extra section only when user has completed a specifc route or entire story + + +## Types + +boolean, string, number/integer, object, array, enum, etc... + +## Actions + +need action to edit/mutate variable values. currently I think we have only basic increment + + diff --git a/tasks/TASK/000/TASK-014.md b/tasks/TASK/000/TASK-014.md new file mode 100644 index 00000000..dadc9682 --- /dev/null +++ b/tasks/TASK/000/TASK-014.md @@ -0,0 +1,12 @@ +--- +title: add event for text-revealing and animations completed +status: todo +priority: low +--- + +# Description + +- need a way to get an text-revealing and animations completed so we know when it is completd +- then can propertly implment next line config based on that event + +