esainane 0fba875c72 Fix theme properties in various demos (#1097) | 4 mesi fa | |
---|---|---|
.. | ||
enemy | 6 mesi fa | |
gui | 4 mesi fa | |
level | 6 mesi fa | |
player | 6 mesi fa | |
screenshots | 10 mesi fa | |
README.md | 5 mesi fa | |
default_bus_layout.tres | 10 mesi fa | |
game.gd | 6 mesi fa | |
game_singleplayer.tscn | 10 mesi fa | |
game_splitscreen.gd | 1 anno fa | |
game_splitscreen.tscn | 10 mesi fa | |
icon.webp | 10 mesi fa | |
icon.webp.import | 10 mesi fa | |
music.ogg | 1 anno fa | |
music.ogg.import | 10 mesi fa | |
music.tscn | 10 mesi fa | |
project.godot | 6 mesi fa |
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)