Information

Author:
    addjenius
Rating:
    9.7 (7 votes)
Type:
    Example
Language:
    GM 7
Reviews:
    None
Submitted:
    December 14, 2008
Dev - DB/form (refering to updated - check code)
Download:
    DOWNLOAD (623)
Dev - make AJAX
Screenshots (3)
Dev - Also, on form submission, use GD to resize the image as a new thumbnail file
Dev - In the submission form, you can now upload a banner image
Random ship generation
Algorithmically generates a spaceship (2d, topdown), fully colored.
User can control a few variables to control sprite outcome (though if runned directly, only the size).

Best sizes are from 12-22, and only work with ships of even dimensions.

The script is easy to implement.
If you want to change the ship's sprite to a random ship, just run random_ship(width,height,skinniness,stubbiness);

Space: Generates new set of space ships
Enter: Saves screenshot

Sprites and functions are free to us, no credit required but appreciated.

Below are screenshots of 16x16, 18x18, and 20x20 ships


Target platforms:



Well this is certainly original :)
Posted by marbs December 14, 2008 17:16 - 8.9 years ago
| [#01]

Very impressive.
Posted by Mush December 14, 2008 17:26 - 8.9 years ago
| [#02]

They look more like statues or enemies than ships, but still impressive.
Posted by KaBob799 December 14, 2008 17:45 - 8.9 years ago
| [#03]

Would be cool if these were the enemies of a game, generated on runtime.
Posted by ludamad December 14, 2008 20:59 - 8.9 years ago
| [#04]

Thanks all for the comments.

These used to be enemies for one of my older games - the actual ships looked better but the algorithm is pretty much the same.
I'll prolly post a playable version, which would include weapon slots and more consistently cool ships.
Posted by addjenius December 14, 2008 21:04 - 8.9 years ago
| [#05]

This operates a lot like Charas' random generator. It's something I haven't seen before. Like Luda said, this would be great if done while the game was running.
My only complaint is that it's not fully commented. Sure I can understand the stuff, but not everyone can.
I'll use the same word as everyone else. Impressive.

9/10
Posted by Kilin December 15, 2008 10:22 - 8.9 years ago
| [#06]

Thats amazing.
Posted by Mat December 15, 2008 12:30 - 8.9 years ago
| [#07]

Very Cool, good job.
Posted by Sleepysock December 15, 2008 15:37 - 8.9 years ago
| [#08]

Made my day, loved it.
Posted by Siert December 15, 2008 16:36 - 8.9 years ago
| [#09]

That's just pure epic. 9/10
Posted by CoolGamrSms December 15, 2008 16:46 - 8.9 years ago
| [#10]

Nice :D
Posted by Zappix December 15, 2008 21:09 - 8.9 years ago
| [#11]

Haha, I got one that looked like Mr. T XD
Very cool little piece of code here.
Posted by TDOT December 15, 2008 22:31 - 8.8 years ago
| [#12]

It's great. Although if you want to make a ship that's larger that 50x50, forget it. It'll look really bad.
Posted by cata100 December 17, 2008 13:22 - 8.8 years ago
| [#13]

Hey that's cool
Posted by OL December 18, 2008 9:23 - 8.8 years ago
| [#14]

:( Dang GMK files. I can convert it myself, but it would be nice for others if you put up a .gm6 too.

XO Dang!!!
Posted by uglyman December 25, 2008 19:30 - 8.8 years ago
| [#15]

Recent Activity
 
Active Users (0)