Hugo Locurcio 2a962929f3 Update demo files for Godot 4.2.1 (#1013) | há 10 meses atrás | |
---|---|---|
.. | ||
audio | há 1 ano atrás | |
background | há 1 ano atrás | |
coin | há 1 ano atrás | |
enemy | há 1 ano atrás | |
platform | há 1 ano atrás | |
player | há 1 ano atrás | |
screenshots | há 4 anos atrás | |
README.md | há 1 ano atrás | |
icon.webp | há 1 ano atrás | |
icon.webp.import | há 1 ano atrás | |
project.godot | há 10 meses atrás | |
stage.tscn | há 1 ano atrás | |
tiles_demo.png | há 4 anos atrás | |
tiles_demo.png.import | há 1 ano atrás | |
tileset.tres | há 1 ano atrás | |
tileset_edit.tscn | há 1 ano atrás |
This demo uses RigidBody2D
for the player and enemies.
These character controllers are more powerful than
CharacterBody2D
,
but can be more difficult to handle, as they require
manual modification of the RigidDynamicBody velocity.
Language: GDScript
Renderer: Forward Plus
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/119
The player and enemies use dynamic character
controllers for movement, made with
RigidBody2D
,
which means that they can perfectly interact with physics
(there is a see-saw, and you can even ride enemies).
Because of this, all movement must be done in sync with
the physics engine, inside of _integrate_forces()
.
"Pompy" by Hubert Lamontagne (madbr) https://soundcloud.com/madbr/pompy