Procedural 2d Space Ships

I have a new update ready to try! - see the first post in this thread.

This update allows you to select a fleet of ships - Frigate, Destroyer, Cruiser, Battleship and Carrier.

On the Fleet Factory screen use the right click mouse button to access the menu.

Next - Will generate a new fleet if you are at the end of the list otherwise will move you one forwards.
Previous - Will take you back one step to a previously generated fleet.

Change X - This will take you to a separate ship factory for the selected ship type. From this screen you can generate new ships by right click menu or by using the mouse wheel. Find a ship you like then click Add To Fleet - this will replace the current ship type with one you have selected.

Edit Pixel Drawing Settings - Allows you to modify some of the settings that are used to generate the ships. Very much work in progress - if you try it I recommend you do small changes then generate a few ships then some more changes and so on. If you really mess up the settings just restart. Any changes you make to the settings on this screen will be in effect instantly.

Change Fleet Colour - Changes the colour of all ships to your choice.

On all screens you can save the window size and position via the Window menu - got fed up re-sizing and re-positioning the darn things every time I restarted. The application will store properties files in the same directory as the jar file.

I only have 4 stencils at the moment but I am going to add more when I get a chance. A mix of these, the length of the drawn pixels and the frequency should produce even more interesting designs.

Let me know how you get on!

http://dl.dropbox.com/u/36532713/Update1/FleetFactory.jpg

http://dl.dropbox.com/u/36532713/Update1/DrawingConfiguration.jpg

http://dl.dropbox.com/u/36532713/Update1/FrigateFactory.jpg

http://dl.dropbox.com/u/36532713/Update1/DestroyerFactory.jpg

http://dl.dropbox.com/u/36532713/Update1/CruiserFactory.jpg

http://dl.dropbox.com/u/36532713/Update1/BattleShipFactory.jpg

http://dl.dropbox.com/u/36532713/Update1/CarrierFactory.jpg

We can play a game of ‘name that space ship silhouette’ later ;D

Try these settings for more angular - straight looking ships

http://dl.dropbox.com/u/36532713/Update1/StraightAngluar.properties

Open the Drawing Configuration screen and Settings > Load

http://dl.dropbox.com/u/36532713/Update1/StraightAngluarExample.jpg

Heh - I do get a bit excited when one of the generated designs reminds me of a vessel in a sci-fi program.

Very difficult to get Federation Star Trek shapes though as the algorithm is not really suited to having isolated sections like the nacelles. Might have to work on that.

Full screenshot showing all windows open.

http://dl.dropbox.com/u/36532713/Update1/fullScreenShot.jpg

Looks awesome!

If people wished to use this in their game, what would your requirements be? :slight_smile: