Open Source 2D Platformer (Godot 4.x)

This open-source 2D platformer demo was created as an educational project
and is now available for anyone to explore, learn from, and modify.

Here is the source code:

https://github.com/SlayHorizon/2d-platformer-demo

Features

  • Player Mechanics:
    • State Machine with callback functions.
    • Smooth movement with double jump, wall slide, and wall jump.
    • Custom resources for multiple characters with unique skins.
  • Game Systems:
    • Collectibles, moving platforms, and a grid-based camera.
    • Basic HUD with score, music control, and level reload.
    • Simple background music player.
    • Shader effects (scene transitions, scrolling textures).
  • Godot-Specific:
    • @tool scripts for editor functionality.
    • Custom addon/plugin for easy collectible placement.
    • Event Bus for centralized event handling.
  • Bonus:
    • Automated build and deployment to itch.io via GitHub Actions.

Asset Credits:
Pixel Adventure 1 by PixelFrog Assets
Icon Godot Node by Pixel-Boy
Noodle Cafe by Fettuccini

Download

Download
godot-2d-platformer-demo-linux 67 MB
Version 1 24 days ago
Download
godot-2d-platformer-demo-windows.exe 84 MB
Version 1 24 days ago