Pixel Planet Generator by Deep-Fold

2 min read Original article ↗

About

A showcase of some shader code for Godot game engine. Currently there are 8 types of planets, also generates black holes, galaxies, stars and asteroids. Each type has a lot of possible variations. Also allows you to export any planets you like in either a png , gif or a spritesheet.

Drag your mouse around the planet to change the lighting.

If you want to use this for yourself you can download the source for the shader code. Lots more options for variations are available in the source. 

This project is completely free to use and will stay free, but donations are very appreciated, thanks!

FAQ

  • Q: On the downloadable version, where do I find the exported files?
  • A: On Windows and Linux, in the same folder the program is. On MacOS under "~/Library/ApplicationSupport/Godot/
  • Q: How do I use spritesheets?
  • A: Determine how many frames you want for an entire rotation. Set this amount of frames for the width (or height). If this exceeds the file width limit, try increasing the other dimension (width/height) for more frames. And of course whatever tool you use to display animations has to support spritesheets.
  • Q: How do I use color import / export
  • A: Paste in a list of html color codes separated by newlines. Keep in mind that using the copy/paste from clipboard requires browser permissions. Also clipboard access seems to be disabled in firefox.
  • Feel free to ask me anything if something isn't clear, cheers!

Source

Source on Github: https://github.com/Deep-Fold/PixelPlanets 

Available under MIT license. Credit is appreciated, but not required.

Download

Click download now to get access to the following files:

Development log

View all posts