Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question]: Where can I find the root call of BonfireGame void update(double dt) method for time measurement? #539

Closed
dvmatyun opened this issue Jul 5, 2024 · 2 comments
Labels
question Further information is requested

Comments

@dvmatyun
Copy link
Contributor

dvmatyun commented Jul 5, 2024

How can we help?

Im curious how time implementation for the engine looks like to implement server-client synchronization, can you tell me where can I see the root call of time update method void update(double dt) in Bonfire engine (BonfireGame class I suppose it is, and who passes a dt to that method)?

@dvmatyun dvmatyun added the question Further information is requested label Jul 5, 2024
@RafaelBarbosatec
Copy link
Owner

RafaelBarbosatec commented Jul 29, 2024

Hi @dvmatyun !
This game loop is provided by Flame package. You can see this implementation in : RenderGameWidget using GameLoop

@RafaelBarbosatec
Copy link
Owner

About multiplayer game. I was started a project using Dart. Please check bonfire_multiplayer. Maybe this could help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants