Awesome
VectorWar UE4
A port of the GGPO sample game "VectorWar" for Unreal Engine 4, using GGPOUE4.
Setup
- Install Unreal Engine 4.25, Visual Studio, and any dependencies.
- Clone the repo with
git clone --recursive https://github.com/BwdYeti/VectorWarUE4.git
, or after downloading rungit submodule update --init --recursive
to download the GGPOUE4 submodule. - (optional) Generate project files (Right click VectorWarUE4.uproject,
Generate Visual Studio project files
). - Open VectorWarUE4.uproject
Controls
- Arrow keys: Move
- D: Fire
- P: Network Performance Monitor
Notes
Unreal Engine is not deterministic, which is required for netcode that only sends inputs between players, such as deterministic lockstep (delay based) or rollback. VectorWarUE4 gets around this by running the original VectorWar code as its own game state, separate from the UE game logic. It only uses UE for reading player inputs, maintaining the update tick frequency, and rendering the game state by matching Unreal actors to the game state objects they represent. Similar solutions will be required for your own projects.
Currently GGPOUE4 is only usable with Windows.