From 2130d1ac12c9b34c6002dbc656d331ff02685433 Mon Sep 17 00:00:00 2001 From: Luciano Hanyon Wu Date: Fri, 26 Dec 2025 14:12:00 +0800 Subject: [PATCH 1/2] add tasks --- tasks/TASK/000/TASK-012.md | 19 +++++++++++++++++ tasks/TASK/000/TASK-013.md | 42 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 tasks/TASK/000/TASK-012.md create mode 100644 tasks/TASK/000/TASK-013.md 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..d6e8b5b7 --- /dev/null +++ b/tasks/TASK/000/TASK-013.md @@ -0,0 +1,42 @@ +--- +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 + + + + From d0c5f90527584d9a9e97b7e724a92d2213611f64 Mon Sep 17 00:00:00 2001 From: Luciano Hanyon Wu Date: Fri, 26 Dec 2025 15:53:07 +0800 Subject: [PATCH 2/2] update --- tasks/TASK/000/TASK-013.md | 4 ++++ tasks/TASK/000/TASK-014.md | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tasks/TASK/000/TASK-014.md diff --git a/tasks/TASK/000/TASK-013.md b/tasks/TASK/000/TASK-013.md index d6e8b5b7..00d62e1f 100644 --- a/tasks/TASK/000/TASK-013.md +++ b/tasks/TASK/000/TASK-013.md @@ -37,6 +37,10 @@ global ## 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 + +