SnpM / LockstepFramework

Framework for lockstep RTS, TD, and MOBA games.
MIT License
1.39k stars 348 forks source link

Using just the physics engine? #134

Closed MattFoley closed 6 years ago

MattFoley commented 6 years ago

Hi,

Is it possible to use this framework just for the deterministic physics engine? Does that require a server?

I have a networking solution to send data between players, player to player, but I don't have a physics engine that can recreate the physics identically on both platforms. I'd like to be able to make sure the physics play back identically on both devices (being simulated on both devices, and just passing the action data between two players in a turn based manner).

Thanks!

SnpM commented 6 years ago

It is. You will still need to use agents and LockstepManager for frames but there's no need for LS's networking features.

You can even run physics standalone with LSBody and PhysicsManager but I haven't tried this so I don't know if it will work seamlessly.

On Thursday, December 7, 2017, Tj notifications@github.com wrote:

Hi,

Is it possible to use this framework just for the deterministic physics engine? Does that require a server?

I have a networking solution to send data between players, player to player, but I don't have a physics engine that can recreate the physics identically on both platforms. I'd like to be able to make sure the physics play back identically on both devices (being simulated on both devices, and just passing the action data between two players in a turn based manner).

Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SnpM/LockstepFramework/issues/134, or mute the thread https://github.com/notifications/unsubscribe-auth/AHXqp6I_-SifAPGYhTyrBgx1sm37gduYks5s-BOfgaJpZM4Q51T4 .