Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6984795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:35:44+00:00 2026-05-27T18:35:44+00:00

I try to found the best method to do this, considering a turn by

  • 0

I try to found the best method to do this, considering a turn by turn cross-plateform game on mobile (3G bandwidth) with projectile and falling blocks.

I wonder if one device (the current player turn = server role) can run the physics and send some “key frames” data (position, orientation of blocks) to the other device, which just interpolate from the current state to the “keyframes” received.
With this method I’m quite afraid about the huge amount of data to guarantee the same visual on the other player’s device.

Another method should be to send the physics data (force, acceleration …) and run physics on the other device too, but I’m afraid to never have the same result at all.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:35:45+00:00Added an answer on May 27, 2026 at 6:35 pm

    My current implementation works like this:

    1. Server manages physics simulation
    2. On any major collision of any object, the object’s absolute position, rotation, AND velocity/acceleration/forces are sent to each client.
    3. Client sets each object at the position along with their velocity and applies the necessary forces.
    4. Client calculates latency and advances the physics system to accommodate for the lag time by that amount.

    This, for me, works quite well. I have the physics system running over dozens of sub-systems (maps).

    Some key things about my implementation:

    Completely ignore any object that isn’t flagged as “necessary”. For instance, dirt and dust particles that respond to player movement or grass and water as it responds to player movement. Basically non-essential stuff.

    All of this is sent through UDP by the way. This would be horrendous on TCP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hmm. I found this which seems promising: http://sourceforge.net/projects/mjpg-streamer/ Ok. I will try to explain
I try to optimize the database queries in Hibernate, but I found a blocker:
The only nice way I've found is: import sys import os try: os.kill(int(sys.argv[1]), 0)
When i try to run a maven plugin, i found that the default classpath
Try loading this normal .jpg file in Internet Explorer 6.0. I get an error
Consider this method (pardon the sad attempt at Chuck Norris humor :) ): public
After I've seen this PDC session I wanted to try to learn a bit
I've found that the NIO is poorly documented at best except for the simplistic
I fallowed recommendation in this SO question: What's the best solution for OpenID with
I had found written in python, a very simple http server, it's do_get method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.