Ambre is a 2D pixel-art action-platformer developed with Godot 4. Currently in the prototype phase, the project implements core platforming mechanics (running, jumping) and a combat system against basic enemies.
Note
Originally a personal initiative to create a 2D pixel-art platformer, this project has been integrated into my 2nd-year engineering project at Polytech Dijon (2025-2026).
- Core Movement:
- Smooth movement (Left/Right) with friction handling.
- Jumping physics with gravity management.
- Combat System:
- Melee Attack: Player attack animation with specific hitbox toggling logic.
- Enemy AI: Basic slime using patrol behavior with RayCasts to detect edges and walls.
- Level Design:
- Tilemap-based environment using a dedicated Tileset for ground and platforms.
- Game Loop:
- Death & Respawn: The player dies upon contact with a Slime or by falling off the map, triggering an automatic respawn after a short delay.
The game supports Keyboard controls.
| Action | Key |
|---|---|
| Move | ← → or A D |
| Jump | Z or ↑ |
| Attack | A |
Note
You need Godot Engine 4 to edit or run the source code directly.
- Download the project:
- Download the ZIP file via the green Code button.
- Import into Godot:
- Open Godot 4.
- Click "Import" and select the
project.godotfile in the folder.
- Run:
- Press Play
▶️ on the main scene.
- Press Play
The project follows a modular structure where resources are sorted by type:
📂 assets/
Contains all raw media files organized by category:
characters/: Spritesheets for the Player, ennemies and NPC's.tilesets/&background/: Graphics used to build the levels and environments.decorations/&loot/: visual elements for props and collectibles.ui/&audio/: User interface assets and sound effects.
📂 scenes/
Contains the Nodes and pre-fabricated objects (.tscn). This includes the Player, Slime, World (levels).
📂 scripts/
Contains all GDScript logic (.gd). The logic is separated from the scene files to keep the code modular (e.g., player.gd, slime.gd).
This project was created for educational and non-profit purposes. It is not intended for commercialization.
- Code & Development: Nicolas Defour
- Engine & Technology: Developed with Godot 4. The project focuses on mastering GDScript, the Node system, and 2D physics architecture.
- Graphics Assets: Pixel Art assets retrieved for free from itch.io. All rights belong to their respective creators.