The second entry into my corona samples is another traditional demo effect – the Starfield.
This effect was another easy one to convert, so made it appealing for early learning.
I have included two types:
– 3D (where the stars move towards the viewer)
– 2D (where the stars move using parallax scrolling to simulate depth)
Both classes have been made easily customisable and should be fairly easy to follow. I also added an additional movement function to the 2D starfield to give its movement more life.
You can download the full source here: [Download]