The VEKTA codebase would benefit from Promise-like event chains which work similar to Unity's coroutines. While running, actions will be able to inject special draw/update logic into a SpaceObject without cluttering the original class file. For instance, this would be perfect for situations like the atmospheric re-entry effect as well as scripted dialog / animations.
Here's the proposed syntax for a dialog-like interaction:
Short Description
We want Promises.
More Details
The VEKTA codebase would benefit from Promise-like event chains which work similar to Unity's coroutines. While running, actions will be able to inject special draw/update logic into a
SpaceObject
without cluttering the original class file. For instance, this would be perfect for situations like the atmospheric re-entry effect as well as scripted dialog / animations.Here's the proposed syntax for a dialog-like interaction:
Similar to JS Promises, it will be possible to "complete" or "cancel" an action for complex error handling.
Custom async actions will implement
vekta.action.Action
.