Skip to content

MattBunch/flappy-bird

Repository files navigation

Flappy Bird

A Flappy Bird clone built with Godot 4.6 and C#. The project uses a feature-based structure with domain logic separated from Godot presentation nodes.

Requirements

  • Godot 4.6 with .NET support
  • .NET SDK compatible with net8.0

Run the Game

From Godot

  1. Open Godot.
  2. Import or open this project folder.
  3. Press Play to run the configured main scene.

The main scene is configured in project.godot, so no manual scene selection is required for normal play.

From the Command Line

If the Godot executable is available on your PATH:

godot --path .

If it is not on your PATH, run the same command with the full path to your Godot executable:

/path/to/Godot_v4.6-stable_mono_linux.x86_64 --path .

Build

Build the C# project with:

dotnet build

Controls

  • Flap: Space, W, or left mouse click
  • Restart: R

VS Code

This repository includes VS Code tasks and launch settings for building and running the game. The launch configurations use the GODOT4_BIN environment variable for the Godot executable path.

Set it before opening VS Code or launching from a terminal:

export GODOT4_BIN=/path/to/Godot_v4.6-stable_mono_linux.x86_64

Add that export to your shell profile if you want it to persist across terminal sessions.

The Godot Tools extension may also need to know where your Godot editor is installed. Configure godotTools.editorPath.godot4 in your VS Code user settings if the extension cannot find it automatically.

Project Structure

  • Scenes/ - Main Godot scenes and UI scenes.
  • Features/ - Game features grouped by domain and presentation code.
  • Assets/ - Sprites, audio, and Godot import metadata.
  • Infrastructure/ - Infrastructure implementations such as high score persistence.
  • docs/ARCHITECTURE.md - Architecture notes for the project layout and dependency flow.

About

C# Godot Flappy Bird

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages