Procedurally generated spacecraft in Xeno

Xeno generates most of its visual content at runtime. It does not only create planets, stars and nebulae; it will also be able to procedurally generate animated and visually pleasing spaceship sprites. Here are some examples:


Click to enlarge

The Xeno universe will include billions of unique space ship sprites like these.

Click to enlarge

A random selection of generated ships. Some of these are broken, a minor bug that still needs to be fixed.

The technique has been optimized for smaller sprites. Some boss enemies may have larger sprites, like this one:

Click to enlarge


All these ships were generated at runtime, by using a number of textures and a set of template rules that roughly describe the shape of a spaceship. By mutating the templates, an infinite number of shapes can be generated.

The required rule files, textures and the generator code are less than 250 KB in size combined, yet they create gigabytes of sprite data.

Advertisement

2 Responses to Procedurally generated spacecraft in Xeno

  1. This is really good stuff :D

  2. greltam says:

    Broken ships? Sounds more like a Feature :P

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.