Godot 2D Platformer (Open Source)
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
Published | 24 days ago |
Status | Released |
Platforms | HTML5, Windows, Linux |
Author | SlayHorizon |
Genre | Platformer, Educational |
Made with | Godot |
Tags | demo, Godot, No AI, Open Source, Pixel Art |