AmbientRun / Ambient

The multiplayer game engine
https://ambient.run
Apache License 2.0
3.79k stars 122 forks source link

Add frame timings #1211

Closed pierd closed 8 months ago

pierd commented 10 months ago

Addresses #1121

Makes input to rendered available in the debugger.

philpax commented 9 months ago

Shall we merge this?

pierd commented 9 months ago

Shall we merge this?

I'm going to update the structure a bit to make packages less coupled but that'll be after the Xmas break.

As for the coupling itself.. there'll still be coupling around the reporting api (whatever the report method would it be other parts have to know how (currently report_event on ambient_timings::Reporter) and what to report (currently TimingEvent/TimingEventType)). Using &'static str just makes the coupling implicit instead of explicit.