Platformer 2D : Godot 4 Source Code
Pixel Platformer 2D is a fully featured, production-ready source code project built in Godot 4.6. Whether you're an aspiring indie developer, a game jam veteran, or a student learning game architecture — this project gives you a rock-solid foundation with clean, readable code and a complete set of systems ready to expand.
No half-finished prototypes. No spaghetti code. Just a proper, well-organized platformer you can dig into, learn from, and build on top of.
๐ฎ Core Systems
Player State Machine The player is built around a finite state machine, cleanly separating behaviors like idle, run, jump, fall, hurt, and death. Easy to read, easy to extend — add new states without breaking anything.
6 Enemy Types Six distinct enemies, each with their own movement patterns, attack logic, and interactions. From ground patrollers to aerial threats, there's enough variety to populate a full game.
Collectibles & Progression Coins, diamonds, portals, and checkpoints are all implemented and ready to wire into your own level designs. The checkpoint system supports respawning and mid-level saves out of the box.
โ ๏ธ Traps & Hazards
A rich set of environmental dangers keeps gameplay tense and engaging:
- ๐ Fans — push or pull the player with directional airflow
- โ๏ธ Chains — swinging obstacles with physics-based motion
- ๐ชจ Falling Platforms — drop after the player lands
- ๐ต Spikes — classic instant-kill hazards
- ๐คธ Trampolines — bounce the player to hard-to-reach areas
- ...and more traps ready to drop into any level
๐ฟ Four Seasonal Parallax Backgrounds
Set the mood with four fully animated, multi-layered parallax backgrounds — one for each season:
- ๐ธ Spring — blooming trees and soft morning skies
- โ๏ธ Summer — lush greenery under a bright midday sun
- ๐ Autumn — golden leaves and warm dusk tones
- โ๏ธ Winter — bare branches and cold misty horizons
Each background scrolls at independent depths for a rich sense of atmosphere and motion.
๐ Audio Manager
A centralized audio system handles all SFX and music playback. Easily swap tracks per scene, control volume buses, and trigger sounds from anywhere in the project without messy cross-scene references.
๐ Game Stats Manager
A global stats manager tracks everything — score, lives, coins collected, diamonds, and session data. Persistent and autoloaded, it's ready to hook into a save system or leaderboard.
๐ฌ Menus, Transitions & World Selection
A complete UI flow is included:
- Main Menu with clean navigation
- World Selection Screen to organize your levels
- Smooth Scene Transitions between all screens
- Test Level so you can hit play and see everything working immediately
๐ฆ What You Get
- Full Godot 4.6 project, ready to open
- Organized folder structure with clear naming conventions
| Published | 4 days ago |
| Status | Released |
| Platforms | HTML5 |
| Author | Yusa Studios |
| Genre | Platformer |
| Made with | Godot |
| Tags | beginner-friendly, Godot, godot4, level-design, Pixel Art, platformer-kit, source-code, starter-kit, state-machine, Tilemap |
| Content | No generative AI was used |
Purchase
In order to download this game you must purchase it at or above the minimum price of $2.50 USD. You will get access to the following files:





Leave a comment
Log in with itch.io to leave a comment.