In my 2D tile based platformer I have added plants to be able to farm such as the simplest, grass, to other things like corn. Now each of these speacial tiles must be updated to show how much it has grown (Simple states such as 0 = New, 1 = Mature, 2=Blooming)
My question is, what would be the best way to do this?
So far I belive I could:
- Update every tile every few seconds, and if a random chance is met, make it grow
- Choose a few tiles every frame to update (minecraft does this, same thing in 3D basicly)
Now the timeframe for the updates would be something like, a flower blooms every game day (10 minutes in real life), grass spreads every in game hour, etc
Thanks for your help, I think I could do this, I'd just like a little advice if any of these are the right path.