June 2018
Beginner to intermediate
298 pages
7h 38m
English
Create a new scene and add a RigidBody2D named Player as the root node, with Sprite and CollisionShape2D children. Add the res://assets/player_ship.png image to the Texture property of the Sprite. The ship image is quite large, so set the Scale property of the Sprite to (0.5, 0.5)and its Rotation to 90.
In the Shape property of CollisionShape2D, add a CircleShape2D and scale it to cover the image as closely as possible (remember not to move the rectangular size handles):
Save the scene. When ...
Read now
Unlock full access