Stencyl - How to create a simple starfield in Stencyl

Опубликовано: 12 Март 2026
на канале: solron75
411
2

Stencyl - How to create a simple starfield in Stencyl.

This short video shows you how to create a simple 2d (with a 3d look) starfield, coming towards you.

All it takes is two lines of code to create this starfield, and one behaviour to kill the "stars" after they leave the screen. If you dont kill the actors after they left the screen, the star field will very quickly become sluggish and slow.

The "star" used is a 1x1 picture containing only one pixel. Should be simple enough to make in any graphic tool, from paint to photoshop.

Add a background music and a scroll text, and you have a simple old school intro ;)

Enjoy!

You will find more of my videos here:
Channel:    / @solron75  

Or have a look at my webpage, where there is a variety of tutorial and resources: http://soltveit.org

If you dont have Stencyl and want to try it out, check here: http://www.stencyl.com

If you want a place to publish your "flash games", check here:
http://www.newgrounds.com