sturdykeep / backbone

Strong & flexible game library for Flutter, that drinks milk 🥛
Other
37 stars 1 forks source link

Development Mode debugging #64

Open skyne98 opened 1 year ago

skyne98 commented 1 year ago

By abstracting most properties and calculations away from the underlying library, the developer should be able to press a key in game and go into the developer mode.

Developer mode will feel much like an integrated editor in a fully-fledged game engine. This might pave the road to an actual editor some time in the future.

This mode should allow developers to:

  1. Freely fly around with a virtual "developer" camera, controlling it with WASD / touch
  2. Have the game continue to run as if nothing happened, but view the game through the virtual "developer" camera / block input events
  3. See a node tree, being able to click and select / zoom to specific nodes
  4. See node details
  5. See message queue
  6. See performance metrics (FPS, tick time, system times)
  7. Send debug commands to the nodes (open their debug console and input commands that are processed by something like an optional onDebugCommand override)
  8. Send input events or enable specific input interactions temporarily