esainane 0fba875c72 Fix theme properties in various demos (#1097) | 3 月之前 | |
---|---|---|
.. | ||
enemy | 5 月之前 | |
gui | 3 月之前 | |
level | 5 月之前 | |
player | 5 月之前 | |
screenshots | 9 月之前 | |
README.md | 4 月之前 | |
default_bus_layout.tres | 9 月之前 | |
game.gd | 5 月之前 | |
game_singleplayer.tscn | 9 月之前 | |
game_splitscreen.gd | 1 年之前 | |
game_splitscreen.tscn | 9 月之前 | |
icon.webp | 9 月之前 | |
icon.webp.import | 9 月之前 | |
music.ogg | 1 年之前 | |
music.ogg.import | 9 月之前 | |
music.tscn | 9 月之前 | |
project.godot | 5 月之前 |
This demo is a pixel art 2D platformer with graphics and sound.
It shows you how to code characters and physics-based objects in a real game context. This is a relatively complete demo where the player can jump, walk on slopes, fire bullets, interact with enemies, and more. It contains one closed level, and the player is invincible, unlike the enemies.
You will find most of the demo’s content in the level.tscn
scene.
You can open it from the default game.tscn
scene, or double
click on level.tscn
in the src/level/
directory.
We invite you to open the demo's GDScript files in the editor as they contain a lot of comments that explain how each class works.
Language: GDScript
Renderer: Compatibility
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/120
CharacterBody2D
.
Pompy by Hubert Lamontagne (madbr)