The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on Fusion.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

Shared vs Hosted mode

IWillMakeNameLater
2022-06-16 18:35:46

I'm making a top-down 2d game similar to Among Us / Binding of Isaac with shooting, I need advice which mode to choose. I need mode which

-will handle hitting with fast bullets best (bullets are too slow for one raycast shot)

-cheating is NOT a problem

Shared is "less latency." Examples of games Among Us and PixelGun, which hit my target game. Also, it will be less affected by player with high lag.

Hosted has lag compensated HitBoxes (which I'm most particular about) and Physics prediction (I use kinematic rigidbodies for player movement, I don't use prediction apart froum out-of-the-box physics prediction).

The bottom line is: which mode will handle hitting with fast bullets better so player will not see he is hit by bullet that flew nearby?

Materials: https://doc.photonengine.com/en-us/fusion/current/manual/state-transfer, https://doc.photonengine.com/en-us/fusion/current/getting-started/fusion-intro

Comments

Back to top