mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 16:00:08 +01:00
This also improves visuals in the Voxel and Dynamic Split Screen demos, and fixes splitscreen mode in the Platformer 2D demo. Most demos (other than physics tests) have also had their physics FPS increased to 120. This is done consistency with 4.x, but also for the benefits it still provides when interpolation are enabled (lower input lag, more stable simulation).
Physics Platformer
This demo uses RigidBody2D
for the player and enemies.
These character controllers are more powerful than
KinematicBody2D,
but can be more difficult to handle, as they require
manual modification of the RigidBody velocity.
Language: GDScript
Renderer: GLES 2
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/119
How does it work?
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().
Screenshots
Music
"Pompy" by Hubert Lamontagne (madbr) https://soundcloud.com/madbr/pompy

