Cosmic Frontier 2D – Space


The space consists of layers with different elements. The bottom layer is a transparent sprite with stars, it scrolls along the player depending on his velocity. Then comes the planet,
which is made from 4 different layers for easy customisation, there’s the glow, terrain, clouds and the shadow. Terrain and clouds scroll slowly with a script to simulate rotation. I have made multiple white transparent sprites for the nebulas, I stack them and change the tint to achieve different variatons. Then there’s the two layers of asteroid fields with normal maps repeated multiple times on a single plane. the topmost layer has all the thing player can interact with, like the rigidbody asteroids and the small station.

Posted in 2D

Leave a Reply

Your email address will not be published. Required fields are marked *