A multiplayer first person shooter example project for Godot 3.2 game engine.
- Multiplayer: using Godot's High Level Multiplayer API
- Character with animations for different states, like running, swimming and climbing
- Bots: stack based FSM AI
- 3 types of weapons: an automatic machine gun, a shotgun with spread, a grabbity gun
- Sounds: footsteps, weapons, props, impacts, underwater effects
- Touchscreen controls
- Walk:
W/A/S/D
- Jump:
Space
- Fire:
Left Mouse Button
- Grab:
Right Mouse Button
First person shooter with a multiplayer. Includes a seperate project for server and one for client. To play over the internet in the main scene properties (client project) there's an exposed parameter for a public IP address, set to localhost by default. Port 27015 (an arbitrary number, can be changed in the code) must be accessible through the firewall or in the router settings and not blocked by ISP (Internet Service Provider). Make sure to run the server project first, then click "Play" on the client.
High Level Multiplayer API
FPS Tutorial
Finite-State Machines: Theory and Implementation
Uses Gonkee's joystick script for Godot 3
Touchscreen buttons by xelu
Sounds:
- https://sonniss.com/gameaudiogdc2017/
- https://sonniss.com/gameaudiogdc18/
- https://sonniss.com/gameaudiogdc19/
- https://freesound.org/people/monte32/sounds/353799/
- https://freesound.org/people/mickyman5000/sounds/340493/
To support this kind of projects consider becoming a patron.