Page 1 of 1

Rewrite Flowers

PostPosted: Thu Oct 02, 2014 18:21
by Gael de Sailly
I'm working on Flowers, a minetest_game mod which (I think) should be rewritten.
Especially the problem is in the spreading algorithm. When there are 4 flowers in a 9x9x9 cube, they stop changing forever. But, in the real life, nature is constantly changing.

I will perhaps rewrite the mapgen also.
If you have others suggestions, please post replies.

Re: Rewrite Flowers

PostPosted: Thu Oct 02, 2014 18:50
by Krock
+1
It could be difficult to not cover everything with flowers after a time..

Re: Rewrite Flowers

PostPosted: Fri Oct 03, 2014 12:32
by Gael de Sailly
I thought about it.
In the old code, there was a maximal density (4 flowers in 9x9x9 nodes) after which they stop spreading. But the aim is not to remove this feature, but to make them continue changing without increasing density. My idea is to add the fact that a flower has a small chance to disappear every time this ABM is runned. And it modelize the wilting of the flowers.
I will perhaps add noise conditions for flowers spreading.

Re: Rewrite Flowers

PostPosted: Sun Oct 05, 2014 10:49
by Hybrid Dog

Re: Rewrite Flowers

PostPosted: Sun Oct 05, 2014 14:25
by Gael de Sailly
It's not exactely what I think : I would like to define a noise for each flower to make differences between places : in the nature there aren't the same species of flowers everywhere.

Re: Rewrite Flowers

PostPosted: Sun Oct 05, 2014 15:52
by Zeno
If you need help with this I am very willing. It's been something I've wanted to do for a long time.

Re: Rewrite Flowers

PostPosted: Sun Oct 05, 2014 17:07
by Hybrid Dog
I don't know if using perlin noise only works when generating map...