RTS devlog #4: Collision detection and combat

You're viewing a single comment in a conversation. View all the comments
  • 1 Comments

  • Order by
    • [-] [+]
    • 3
    • Ashley's avatar
    • Ashley
    • Construct Team Founder
    • 3 points
    • (0 children)

    I haven't really done any real testing on the networking code yet, but I definitely will at some point. Poor network conditions might cause the hit event (and resulting explosion) to not visibly line up with the bullet or the unit it hit. But I think it can mostly be covered up reasonably well by the client. For example given the bullet movement is predictable, if a "projectile fired" message arrives late due to being delayed by the network, the client can advance the bullet to compensate for the lateness, and then it's back in sync. I'll be digging in to all those details in the blogs when I get to beefing up the network code.