Skip to content

An FPS multiplayer template for Godot so you don't have to start from scratch

License

Notifications You must be signed in to change notification settings

TheDahoom/FPS-Multiplayer-Template

Repository files navigation

FPS multiplayer template screenshot

An FPS multiplayer template with everything you'd need to get started. Includes a full map with custom 3d assets. There is a fully featured main menu, pause menu and options panel. Did I also mention it has full controller support?

Installation

Open the godot project manager, switch to the asset library and search FPS multiplayer template and download. Another method is to clone the repo into your godot projects folder and open it from there.

Features

  • Multiplayer
  • Full map with custom assets
  • Controller support (including menus)
  • Cinematic Main menu
  • Pause menu
  • Options menu with:
    • Fullscreen
    • Fps and ping counters
    • Mouse and controller sensitivity
  • Bullet wall collision
  • Random respawn on map
  • Adjusted light and environment ("better graphics")

New

  • Music (with toggle) and bullet sounds (thanks to bearlikelion)
  • Configurable random respawns Player > Inspector > Spawns
  • QOL:
    • added tooltips for exported variables
    • code refactor (thanks to bearlikelion and me)
    • bug fixes

Controls

  • C to toggle mouse capture
  • F or (sony square)/(x on xbox) to respawn
  • Left click / Right trigger to shoot
  • Esc / start for pause menu

Multiplayer

When pressing host view the console to get an IP for your session and give that to your friends (be careful because its your public IP)

troubleshooting

If you get a upnp error in the console then make sure that you have UPNP enabled on your router. If the error persists you have to port forward port 9999 then share your public IP which you can get here

Assets

  • The 3d assets are made by me and go by the same MIT license, so you are free to use them in your commercial games
  • The textures are made by kenny and go by the CC0 license so if you like them please go donate to them

Credits

Contributors

  • bearlikelion Great changes including audio and code refactoring