oakmound / oak

A pure Go game engine
Apache License 2.0
1.55k stars 83 forks source link

Add the ability to persist bindings between scenes #170

Closed 200sc closed 2 years ago

200sc commented 2 years ago

Example use cases:

  1. For any global logic happening in a game (ESC exits game, or F10 goes to fullscreen, etc)
  2. For multi window applications that need to synchronize events between windows, this is difficult if you need to resubscribe to other windows on each scene change.