This video tutorial is an introduction for beginners to the Godot engine.

I create a simple sprite and a background and use GDScript to animate this player:

To simulate the gravity and physics the player node is a RigidBody2D. To make it collide with a way in the background-image a CollisionShape2d node is added to the player and a CollisionPolygon2D to the node for the background.

The CollisionPolygon2D is a complex collider that can be designed in Godot like a 2d mesh.

(Visited 47 times, 1 visits today)