Ludum Dare 23 Warmup

Back to Browse Entries

Tiny Plants Jump

by Gemberkoekje - Warmup Entry


Now includes:
Small improvements on the movement and mutation of seeds
A small GUI: A left click now creates a plant or a seed!


Tiny Plants Jump! Is a little experiment in plant growth and some simple 'DNA'.

It's not much of a game, since the only interaction is moving your camera, but I still hope I enspire some of you lot for next week.

Built in C++ and CinderLib ( for Windows only, I'm afraid.

Sourcecode is a package ment for Visual C++ Express 2008; someone with a bit of knowledge could easily fix it up for 2010. You will need the CinderLib library for it to build, though.

DNA Explanation (As requested :P):

Both the seeds and the plants have 3 defining properties:
Speed determines the speed of the seed and the growth speed of the tree,

Gravity determines how quickly the seed falls, and I've also tried to make the branches branch out more on a tree with high gravity (I was attempting to make some kind of 'weeping willow' but it never really showed)

Size determines nothing on the seed (ups :P) and how big the tree will become before it starts spewing seeds (which also means that branch won't grow any further)

The color components show the values:
Red: Gravity
Green: Size
Blue: Speed

So a white tree has max these, a red one just gravity, etc.


The tree sheds max 3 seeds once a branch reaches it's max height (There's some randomization in there) - the seeds will fly around randomly until a seed of another tree type becomes available, the 2 seeds will go towards each other and 'merge' taking randomly part-components of both seeds. The seed will then settle in the ground and start growing a new tree.

If a seed for whatever reason ends up in the ground without being 'fertilized' or merged, the resulting tree will have half the values of the seed.

Downloads and Links


caranha says ...
Apr 15, 2012 @ 4:16pm

Love it. Can you talk a little bit more about the "simple DNA"? Did you implement any sort of crossover?

Gemberkoekje says ...
Apr 15, 2012 @ 5:06pm

I've added a few bits on the DNA and the seeds for you :)

zzForrest says ...
Apr 15, 2012 @ 9:01pm

Awesome, but I would love to have adjustable seeds!

Gemberkoekje says ...
Apr 16, 2012 @ 9:30am

Don't have much time (Especially if I want to keep the weekend free for LD48 :P) but I'll try to make a version with some interaction in a few weeks or so.

galman says ...
Apr 16, 2012 @ 12:36pm

Genius idea, really interesting

Gemberkoekje says ...
Apr 16, 2012 @ 12:39pm

Thanks :)

Apr 19, 2012 @ 6:30am

That was a cool simulation, might just run it in the background for a few days. Should try making it a game some time.

Gemberkoekje says ...
Apr 19, 2012 @ 9:53am

I've noticed that after not very long it's just creating a dense forest of mostly pink trees (I still haven't entirely figured out why it ends up being pink) so my next version should have seeds which at least sometimes decide to see the world or something. Along with some more radical mutations in DNA.

Gemberkoekje says ...
Apr 19, 2012 @ 7:35pm


Now includes:
Small improvements on the movement and mutation of seeds
A small GUI: A left click now creates a plant or a seed!

You must sign in to comment.

[cache: storing page]