kiigame / kiigame/adventure_engine
Automatic delay/timeout handling in interactions
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 6
- Avg merge
- 2m
- Merged PRs (30d)
- 4
Description
If you e.g. play a sequence in an interaction, and want to delay subsequent commands (do_transition, monologue etc), you need to calculate the correct timeout parameter by hand for interactions.json.
The play_sequence function in kiigame.js generously returns the sequence delay; perhaps it could be used in handle_commands.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading play_sequence and handle_commands in kiigame.js, then inspect how timeout values are represented in interactions.json. Trace how a sequence delay should affect subsequent commands such as do_transition and monologue. Done means callers no longer need to calculate the correct timeout manually for delays returned by play_sequence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100