Use the slider to change the mode (1 - Sun goes to your mouse, 2 - The sun orbits the planet in a day/night cycle 3 - the sun orbits in a side scroller fashion similar to games like solar smash) Press [space] to see the flare axis The project just shows how I made something called "lens flare". A lens flare is a visual effect that occurs when a bright light source, like the sun, shines directly into the camera lens, creating objects along a line from the light source to the center of the screen (this line is called a flare axis). This really cool effect is used in games and movies and helps create realism. How I did this is pretty simple and just painted a line of sprites along the flare axis. I also added light bloom to give it a little more detail.
Realistic Texture for the Planet is from OpenGameArt.org Realistic Texture for background is from scratches library Music is Interstellar - Hans Zimmer