This is port RoboCat game from book Multiplayer Game Programming: Architecting Networked Games on Hazel Engine
Visual Studio 2017 or 2019 is recommended, Hazel is officially untested on other development environments whilst we focus on a Windows build.
You can clone the repository to a local destination using git:
git clone --recursive https://github.com/schechenkin/Hazel_RoboCatGame.git
Make sure that you do a --recursive
clone to fetch all of the submodules!
Run 'scripts/Win-GenProjects.bat'
- Start server:
RoboCatServer.exe [port]
- Start cleint:
RoboCatClient.exe [ip]:[port] [playername]
Example:
RoboCatServer.exe 40000
RoboCatClient.exe 127.0.0.1:40000 player1
RoboCatClient.exe 127.0.0.1:40000 player2
You may need to copy manually assets folder near RoboCatServer.exe and RoboCatClient.exe to start game from command line
Controls:
- WASD - move cat
- K - shoot