Skip to content

MouseChannel/RTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Its A RTS Demo

it is a rts demo by Unity

submodules:

Static Badge

Static Badge

Static Badge

Static Badge

Static Badge

🌞Overview🌞

🫱 Client PURE Unity ECS framework

  • using Dots0.5, Pathfinding, Collision Avoidance and all logic about are written by Unity_ECS

🫱 Server multi-player Frame synchronization

  • A simple frame synchronization server written by Golang
  • Rooms and Matching
  • Use protobuf and kcp to communicate

🎉Show case🎉

./readme/animation.png
☝️RVO Frame synchronization☝️

☝️fog of war☝️

☝️texture base vertex animation☝️

🔥Feature🔥

🫱 Deterministic fixed points

Default floating point precision issues can lead to failure to synchronize,necessary to rewrite a deterministic fixed-point numbers to make it Multi-client synchronization

帧同步的几个难点

定点数原理

rewriten by Unity ECS Framework

RVO2 lib

Hierarchy A-Star path finding

Hierarchy Pathfinding A-Star

🫱 Texture-Base Shader Animation

shader vertex animation to rendered in ECS framework,each pixel represents the mesh a certain vertex position in a certain frame.

Unity GDC 2016: Rendering a Large Number of Animated Characters Using the GPU

🫱 High performance fog of war

reuse the KD tree in RVO2 to get the nearest occlusion