June 2018
Beginner to intermediate
298 pages
7h 38m
English
Start a new scene by making a RigidBody2D, naming it Rock, and adding a Sprite using the res://assets/rock.png texture. Add a CollisionShape2D, but don't add a shape to it yet. Because you'll be spawning different-sized rocks, the collision shape will need to be set in the code and adjusted to the correct size.
Set the Bounce property of the Rock to 1 and both Linear/Damp and Angular/Damp to 0.
Read now
Unlock full access