Platformer Template & Finite State Machine - Godot
Start your adventure in crafting your own exciting platformer or metroidvania game using this Platformer Template 2D for Godot 4.1 ! Loaded with impressive features and a strong framework, this template gives you a solid base for your game development:
Features:
- Player: make use of the detailed Finite State Machine (FSM) system, which includes the following states:
- IDLE
- MOVE
- JUMP
- FALL
- DASH
- DUCK
- SLIDE
- SHOOT
- WALL SLIDE
- WALL JUMP
- HIT
- DIE
- Jumping (Jump time buffer, Coyote jump and Dynamic Jumping): The jump buffer is used to allow jumping slightly before hitting the ground, and the coyote timer allows jumping shortly after leaving a platform. Dynamic jumping allows to taper off as the jump button is released.
- Tight and precise movement
- Load/Save game system: allowing players to pick up where they left off.
- Screen Shake
- Swap color sprite shader: to create a blink effect when the player is hit. You can use the same script to create a power-up effect or mega-buster charging effect.
- Enemy AI: 2 different enemies AI with FSM to handle states and animations. Turret enemy and patrol enemy.
- Health/Damage system
- Dialog system
- Camera scroll behavior: like old megaman games
- CRT shader: create a visually stunning and immersive environment with a CRT shader and 2D dynamics lights and shadows.
- HUD with healthbar and current lives
- Items: energy pickup
- Sounds and music
- Start screen
- Ready-to-Use sample scene: get started quickly with a ready-to-use example scene! Jumpstart your project by trying out a well-designed sample scene that makes it easy for you to test and discover what this template can do
Create the platformer or metroidvania game you've always dreamed of, and let the adventure begin!
Keys:
Start: Enter
Move Left: A
Move Right: D
Shoot: J or CTRL
Duck: S
Jump: W or L
Dash: K
Slide: Spacebar
Enable CRT fx: C
Save Game: 1 (or use the save station in game)
Load Game: 2
Status | Released |
Category | Tool |
Platforms | HTML5 |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | RNB Games |
Genre | Platformer |
Made with | Godot |
Tags | 2D, Godot, megaman, metroid, Metroidvania, Retro, Roguelike, Project template |
Average session | A few seconds |
Languages | English |
Inputs | Keyboard |
Links | YouTube |
Purchase
In order to download this tool you must purchase it at or above the minimum price of $10 USD. You will get access to the following files:
Comments
Log in with itch.io to leave a comment.
Works with Godot 4.2?
Can you add a shooting mechanic similar to megaman where there can be 3 bullets on the screen at the same time?
Wall jump doesn't feel great because he falls down when you press away from the wall
If you open this template with Godot 4.2, there is the option to upgrade it and you should be fine.
The shooting mechanic can be modified to your needs. Actually, it's really easy to spawn 3 bullets at the same time.
You can change the logic of the wall slide so the player is "glued" to the wall until you press the jump key.
The key feature of this template is that you have a finite state machine that can handle different animations and states, is ready to use or to modify to your needs and is very simple to understand. The possibilities are endless !