Quantcast
Channel: 2D Latest Topics
Viewing all articles
Browse latest Browse all 623

Procedural Generated 2D Starfield

$
0
0

For a game project I am working on, I would like to implement a 2D starfield as a background.

I do not want to deal with static tiles, since I plan to slowly animate the starfield. So, I am trying to figure out how to generate a random starfield for the entire map.

I feel that using a uniform distribution for the stars will not do the trick. Instead I would like something similar to the screenshot below, taken from the game Star Wars: Empire At War (all credits to Lucasfilm, Disney, and so on...).

595256e1ef97a_StarWarsEmpireatWar06_27.2017-14_58_01_01.thumb.png.790912fdda268cc3003ab8d46670080f.png

 

Is there someone who could have an idea of a distribution which could result in such a starfield?

Any insight would be appreciated ;)


Viewing all articles
Browse latest Browse all 623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>