Tiny Plants Jump by Gemberkoekje
UPDATE ! UPDATE ! UPDATE ! UPDATE
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 (http://libcinder.org) 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.
Seeds:
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.
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 (http://libcinder.org) 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.
Seeds:
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.
Now includes:
Small improvements on the movement and mutation of seeds
A small GUI: A left click now creates a plant or a seed!