Skip to content

retsofoster/godot-fps-template

 
 

Repository files navigation

FPS Game

Setup

Create a GODOT_BIN environment variable and point it to the Godot executable.

Programming Practices

Exports

  • Use [Export] for Nodes. Avoid exporting properties.
  • Use PascalCase for naming exports.

Following these practices will limit breaking changes in the future and make refactoring easier for properties.

Do:

[Export] public Node3D Camera;
public int Height = 10;

Don't:

[Export] private Node3D _Camera; // Should be "Camera"
[Export] public int Height = 10; // Avoid exporting properties

Remember to update scenes if you are updating the name of an export.

About

A generic FPS game template made in Godot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GDScript 93.0%
  • C# 4.9%
  • HTML 1.1%
  • Other 1.0%