June 2018
Beginner to intermediate
298 pages
7h 38m
English
The explosion will be a separate scene, which you can add to the Rock and later to the Player. It will contain two nodes:
For the sprite's Texture, use res://assets/explosion.png. You'll notice that this is a sprite sheet—an image made up of 64 smaller images laid out in a grid pattern. These images are the individual frames of the animation. You'll often find animations packaged this way, and Godot's Sprite node supports using them as individual frames.
In the Inspector, find the sprite's Animation section. Set the Vframes and Hframes both to 8. This will slice the sprite sheet into its individual images. You can verify this by changing the Frame property to different values between ...
Read now
Unlock full access