/Godot-3.2-Multiplayer-FPS

A multiplayer first person shooter example project for Godot 3.2 game engine.

Primary LanguageGDScriptOtherNOASSERTION

Godot 3.2 Multiplayer First Person Shooter

A multiplayer first person shooter example project for Godot 3.2 game engine.

Features

  • 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

Keys

  • Walk: W/A/S/D
  • Jump: Space
  • Fire: Left Mouse Button
  • Grab: Right Mouse Button

Description

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).

Preview

Multiplayer FPS

Links

High Level Multiplayer API

FPS Tutorial

Finite-State Machines: Theory and Implementation

Credits

Characters and prototype textures by Kenney

Uses Gonkee's joystick script for Godot 3

Touchscreen buttons by xelu

Sounds:

Thank you

To support this kind of projects consider becoming a patron.