MatthewScholefield / mine-ds

A 2D survival game for the Nintendo DS
http://matthewscholefield.github.io/mine-ds/
GNU General Public License v3.0
21 stars 0 forks source link

Block updates #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Blocks near the player will update every few seconds. Block updates include:
grass growing + decaying
snow covering grass + dirt
Trees growing + decaying

Either biomes can be saved to the world data as a linear array, or snow/ grass 
will spread to blocks around them.

Original issue reported on code.google.com by Matthew3...@gmail.com on 16 Dec 2014 at 9:11

GoogleCodeExporter commented 9 years ago
The older version of MineDS spread snow grass if I remember correctly. Block 
updates also apply to gravel / sand falling, furnace lighting and particles etc.

Original comment by goldenscruff on 10 Feb 2015 at 10:35

GoogleCodeExporter commented 9 years ago
Revision r493 has created the base code for this. However block update code has 
not been written for all appropriate blocks.

Original comment by goldenscruff on 19 Feb 2015 at 10:31

GoogleCodeExporter commented 9 years ago
Grass decay has been added in r495

Original comment by goldenscruff on 20 Feb 2015 at 10:44

GoogleCodeExporter commented 9 years ago
Grass growth has been added in r498.

All that is left is:
-snow grass growth
-vegetation growth
-sapling growth

Original comment by Matthew3...@gmail.com on 21 Feb 2015 at 7:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
As well as leaf decay

Original comment by goldenscruff on 22 Feb 2015 at 3:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
That does sound weird, I meant vegetation decay.
And if possible grass+ plants should decay without light.

Original comment by Matthew3...@gmail.com on 22 Feb 2015 at 4:18

GoogleCodeExporter commented 9 years ago
r511 adds leaf decay.

Original comment by Matthew3...@gmail.com on 28 Feb 2015 at 9:21

GoogleCodeExporter commented 9 years ago
Leaf decay now drops saplings in r513
Now only Sapling growth remains if I am not mistaken.
:)

Original comment by goldenscruff on 2 Mar 2015 at 10:50

GoogleCodeExporter commented 9 years ago
Eventually we should change the fake blockupdates, triggered when a block is 
destroyed with somethings above it, to real blockupdates.

Original comment by Matthew3...@gmail.com on 2 Mar 2015 at 4:25

GoogleCodeExporter commented 9 years ago
This has been fixed by r522.

Original comment by Matthew3...@gmail.com on 9 Mar 2015 at 11:37