Implementing the classic Starfield screen saver in the Godot Game Engine!
In this challenge, we cover drawing shapes using the CanvasItem parent class, as well as basics for animating an object using the _process() function!
Timestamps:
00:00 - Introduction
02:08 - Explanation of Effect
03:10 - Create Project
05:25 - Creating the Star object
06:45 - Drawing a Circle with CanvasItem
08:35 - Animating the Star
19:10 - Some quick debugging...
22:30 - Illusion of Depth
24:35 - Creating the Starfield
27:45 - Randomizing Star position
29:30 - First view of the Starfield!
32:35 - Adding the trail and drawing lines
36:00 - Some more debugging of the trails
37:35 - Flashing trail explanation and fix
38:50 - Review of code and project
41:40 - Outro
Links:
Original Coding Challenge:
https://www.youtube.com/watch?v=17WoOqgXsRM
Github Link:
https://github.com/godot-academy/godot-coding-challenge/tree/master/1-starfield
Godot Engine:
https://godotengine.org/