Successful Procedural Digimon Generation

Posted by tower07 on Nov. 25, 2012, 1:33 p.m.

This is the story of how I (eventually) succesfully wrote a program that generates

Digimon sprites on its own.

A few days ago I decided, on a whim, to try my hand at procedural sprite generation

after reading a blog post on Gamasutra. I decided since I'm a somewhat-novice to

programming, I'd use Microsoft Small Basic. Its easy to use, and gave me enough

power for what I was doing.

I chose the original Digimon sprites as seeds because each of them are 16x16, and

they're all in black and white. (And I like them :)

My first iteration was to check each pixel, and randomly decide which parent

Digimon to take the pixel from. It usually just made random pixels floating about,

but it was more of a test to see if I could get something like this to work.

My second iteration was smarter, but ended up looking worse than the first ones.

It chose one of the parent Digimon, and picked a "part" from it and put it in the

same place on the new Digimon. A "part" was any connected group of pixels.

My third iteration was only slightly different from the second. The main mechanics

worked the same, except if it found a spot that it thought needed a pixel, it would

put one there. This worked slightly better, but ended up with mostly the same

results.

My fourth and last iteration was a complete overhaul from the third. It finds the

common black pixels in both of the parents, then assigns a color to each group of

them. Then those color groups expand until the entire sprite is completely covered

in red and blue pixels. It then replaces each of the color paches with parts from

the corresponding parent Digimon.

This iteration is the only one I'm satisfied with. I think it turned out great for

what it is, even though only one in a handful look okay.

Anyways, thanks for reading! :D

I'm interested in feedback, if you would be so kind!

Comments

Juju 12 years ago

Hate to be a poop but could you make those images about 3 times as large? Thanks.

death 12 years ago

it looks like.. random lines and dots. only vaguely looking like a creature. im not sure how successful this idea could be but it would need more work than that, and obviously color :P

Pirate-rob 12 years ago

I though the last five looked like proper creatures.

The first is an odd duck thing.

The second is like a kangaroo-dog-squirrel-seal thing

Thirds a Piggy dino

Fourths a wierd teddy

Fifths is a robo fairy alien

Wow thats wierd XD

Charlie Carlo 12 years ago

This is pretty cool for an experiment in programming.

I don't see it having any practical uses though, especially due to the lack of detail and low resolution of the created sprites.

Juju 12 years ago