Jump to content
  • 0

Farming development


MrValenza

Question

Hello,

 

 Is anyone aware of any way to produce a system which allows for players to use an item, like a seed, on a patch tile to grow a cabbage within a certain time frame? I'm not looking for anything in depth as I am not even sure if it exists but i'm looking for a base hit to run with. Thank you for your time

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello, conditional branches in events are your best friend for that.
Page 1 :
An event with your grow tile graphic which verify if you got the seed object
If yes
Activate another page in your event with the "seed planted" tile
If no
Show message : "you don't have seeds to plant there."
Page 2 :
Wait X frames
Activate the next page in the event with the "half_grown_plant" tile
Page 3 :
Wait X frames
Etc...
Until you got all the steps you need.
Activate another last page with the "grown_plant" tile
If player uses action button
Give X item (seed one)
Return to the first page (which allows player to plant another seed and restart the processus).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...