Alexx
Member
I'm working a small project, creating an automated farming game
Download Here 2MB: https://www.learngamemakerstudio.com/download/farming-1/
Screenshot:
There are still a few errors, hope to fix these tomorrow
About the characters:
NPC character that collects water and waters the plants
First up this character will seek out a water source and fill itself up. Then it will look for a plant that needs water (looks for plant with lowest water level) and then water it until full or runs out of water.
If out of water it will look for a water source.
If the plant it is watering is full, it will seek out another plant that needs water – if there are none it will go to the café and take a break.
Look for water
In this state it looks for somewhere to collect water.
Moving to water
In this state it has found a water source and is moving towards it.
Getting water
In this state it is filling up.
Moving to plant
In this state it has found a plant that needs water and not already selected.
Watering plant
In this state it is giving the plant some water
Otherwise
Will visit café for a break.
NPC character that harvests crops when fully grown
This character waits at the café until a crop is ready to harvest. If there is one it will mark it as allocated and move towards it, the harvest it.
Look for crop
Looks to see if there is a crop ready to harvest.
Move to crop
Moves to target crop
Harvest crop
When colliding will harvest the crop, when done will mark area as a new place to plant a crop.
Otherwise
Visit café for a break.
NPC character that plants seeds in empty area
This character will wait at the café and look out for an empty area to plant a seed. If none are present it will go to the cafe.
If there is an empty area present it will mark it as taken (so no other npc planting character also tries to plant there).
It will then move towards it and upon collision plant a seed.
Look for area
Looks to see if there is an area to plant a seed.
Move to area
Moves to target planting area.
Sow area
Plants a seed (a new crop) in the selected area when colliding with it.
Otherwise
Visit café for a break.
melovilant pig that tramples and damages crops when the are growing
This pig will walk around the farm, randomly looking for crops that are in the process of growing, if it finds one (or more choosing one at random) it walk over it trampling and damaging the growing crops. If there are no growing crops present it will keep still and eat the grass.
Download Here 2MB: https://www.learngamemakerstudio.com/download/farming-1/
Screenshot:
There are still a few errors, hope to fix these tomorrow
About the characters:
NPC character that collects water and waters the plants
First up this character will seek out a water source and fill itself up. Then it will look for a plant that needs water (looks for plant with lowest water level) and then water it until full or runs out of water.
If out of water it will look for a water source.
If the plant it is watering is full, it will seek out another plant that needs water – if there are none it will go to the café and take a break.
Look for water
In this state it looks for somewhere to collect water.
Moving to water
In this state it has found a water source and is moving towards it.
Getting water
In this state it is filling up.
Moving to plant
In this state it has found a plant that needs water and not already selected.
Watering plant
In this state it is giving the plant some water
Otherwise
Will visit café for a break.
NPC character that harvests crops when fully grown
This character waits at the café until a crop is ready to harvest. If there is one it will mark it as allocated and move towards it, the harvest it.
Look for crop
Looks to see if there is a crop ready to harvest.
Move to crop
Moves to target crop
Harvest crop
When colliding will harvest the crop, when done will mark area as a new place to plant a crop.
Otherwise
Visit café for a break.
NPC character that plants seeds in empty area
This character will wait at the café and look out for an empty area to plant a seed. If none are present it will go to the cafe.
If there is an empty area present it will mark it as taken (so no other npc planting character also tries to plant there).
It will then move towards it and upon collision plant a seed.
Look for area
Looks to see if there is an area to plant a seed.
Move to area
Moves to target planting area.
Sow area
Plants a seed (a new crop) in the selected area when colliding with it.
Otherwise
Visit café for a break.
melovilant pig that tramples and damages crops when the are growing
This pig will walk around the farm, randomly looking for crops that are in the process of growing, if it finds one (or more choosing one at random) it walk over it trampling and damaging the growing crops. If there are no growing crops present it will keep still and eat the grass.
Last edited: