indigo icon indicating copy to clipboard operation
indigo copied to clipboard

Engine Plugins

Open davesmith00000 opened this issue 5 months ago • 0 comments

A good suggestion came in today from @sherpal.

What if you'd like to extend the behaviour of Indigo, need access to some of its internal machinery, and would like to do so without polluting your game logic with impure code / processes?

The main use case seems to be being able to enqueue events directly from an external source without going around the game loop, but I can also imagine that it would be fun to be able to build extensions, such as:

  • An improved or custom audio implementation.
  • Custom scene transformers
  • Platform specific code, such as UDP integrations via Node.js / Electron
  • Change the underlying game loop/polling or page integration mechanism

This also may provide some interesting possibilities for the future of how Indigo itself is organised. Perhaps the core can be slimmed down and replaced with plugins? What if this is how the Tyrian bridge or Tyrian integration is done in the future?

Feels like an idea worth exploring.

davesmith00000 avatar Sep 10 '24 23:09 davesmith00000