Course Preview:
Play the Game on itch.io
Play the end version of the project at https://svstudio.itch.io/farm-game-course-project
Farming Mechanics:
Farming - Debris and selling
We will be able to collect debris from the field to clear it. We can sell it using the Sell Box.
Farming - Placing crops
The farming mechanic will include preparing a field, placing crops, watering and collecting crops when they grow (or removing them if they Wilt).
Farming - Watering crops
To grow crops we will create a way for the player to water crops. Rain will also water the crops.
Crops that are not watered will Wilt.
RPG Game Mechanics:
Chest Storage
We will have an inventory system and a way to store objects inside chests - tools and items.
Day and Night cycle
We will create a Time System where we have day and night time. We will add some nice looking light for the night time :)
Multiple scenes / Weather
In the game we will create multiple scenes and when we move between them we will save the player state - inventory content, money value etc.
We will also have Rainy weather to help with watering crops.
Other Game Mechanics:
Store
We will create a simple store setup where the player can spend the money to purchase more crop seeds.
Collecting and Selling crops
After the crops that we place matures we will be able to sell them using the Sell Box. It will automatically sell the crops at a specific time.
Time progression / Saving
To progress time and save the game player will interact with the bed.
Features:
- Step-by-step explanation of each farming mechanic in Unity 2022 (35h in total)
- Scripts on github and Full End Project files at the end of each section
- Subtitles: English and Spanish
- My support - access to discord channel where you can ask questions
- 14 days "No Questions ask" refund policy
Assets used:
In this course we will be using Super Retro World Assets Pack from Jeff. I was granted an EDUCATIONAL LICENCE.
This means that we can use those assets to learn about Unity but if you want to use them in your own game please download them from his itch.io page https://gif-superretroworld.itch.io/ (some assets are free and some - like the Farm Asset Pack - requires a paid license).
Course:
- Farm Map Tiles (4:50)
- How to use Tile Palette Tools (5:08)
- Ground Tilemap (4:51)
- How to use Sorting Layers and Custom Axis Sorting (4:46)
- Player House (6:15)
- Path to the house (3:43)
- Decorations Tilemap (4:42)
- Decorations - Trees and Flowers (5:16)
- Rule Tile - Theory (6:47)
- Rule tile - Creating Fence Tile (10:54)
- Finished Farm Map (3:24)
- How to fix tearing between Tiles (3:50)
- Full Project So Far
- Kinematic Rigidbody 2D (5:51)
- Collision Detection Logic (3:34)
- Collision Detection Code (8:23)
- Movement using Rigidbody2D (5:18)
- Physics challenge answer
- Integrating Collision Detection (6:13)
- Adding Fence Collider (4:31)
- House and Trees collider (7:14)
- Collision Layer Masks (6:37)
- Camera Confiner Layer Mask (3:17)
- Project Files So Far
- Object Interaction input (7:26)
- Object to Pick Up (8:37)
- PickUp Interaction (6:09)
- Interaction Detector (9:45)
- Testing PickUp interaction (2:48)
- Project Files So Far
- Pick Up Animation (8:49)
- Playing the Animaiton (5:24)
- Blocking player movement (9:57)
- Hand Tool (10:45)
- Tool abstract class (5:30)
- Is selected Tool valid for interaction? (4:42)
- IInteractable (3:47)
- Project Files So Far
- Exploring sound effects (5:28)
- Foot Step Sound (8:34)
- Connecting Foot Step Sound to Animation (8:37)
- Fixing Blend Tree paying 2 animations problem (4:09)
- Movement Dust Particles (8:14)
- Improving Dust Particles (4:26)
- Pick Up Sound Prefab (6:14)
- Playing PickUp sound (6:55)
- Background Music (14:13)
- Project Files So Far
- Field Interaction Overview (2:09)
- Blocking Player Input Fix (6:32)
- Field Collider (8:37)
- Field Detector (12:58)
- Testing field detector (3:13)
- Field Position Validator (15:04)
- Hand Tools using field detector (12:17)
- Project Files So Far
- Player Swing Animation overview (4:06)
- Player Swing Animation (6:29)
- Hoe tool (5:24)
- Tool Animation P1 (3:50)
- Tool Animation P2 (8:06)
- Tool Animator Controller Override (3:23)
- Playing Hoe Animation (8:08)
- Project Files So Far
- Introduction (1:33)
- Inventory UI Panel (5:53)
- Inventory Item UI - item description (13:04)
- Inventory Item UI - Scrollbar (10:28)
- Project Files So Far
- Open Inventory Input (5:53)
- UI Input Action Map (8:57)
- UI Blocking Player Movement (5:47)
- Displaying Data P1 (12:33)
- Displaying Data P2 (6:18)
- Selecting Items in Inventory UI (23:33)
- Testing the UI Selection (12:07)
- Selection Outline (12:10)
- Scrollbar movement (11:30)
- Project Files So Far
- Introduction (1:33)
- Seeds Placing Tool (9:38)
- Field Data (10:06)
- Modifying FieldController (12:02)
- FIX Modifying Field Controller
- Modifying Tool definition (10:35)
- Defining Corn Crop Data (9:52)
- Using SeedPlacer tool (12:10)
- Crop Renderer (11:09)
- Crop Visual Representation (5:59)
- Project Files So Far
- Introduction (1:46)
- Watering Can Tool Animations (8:00)
- Player Watering Animation (10:29)
- Watering Can Tool Script P1 (15:16)
- Watering Can Tool Script P2 (11:40)
- Testing Watering Can Tool (7:45)
- Project Files So Far
- Water Interaction (6:12)
- Water Splash Particle System (8:28)
- Adding SFX and VFX to watering tool (10:34)
- Showing water quantity in UI (6:38)
- Water Well Fill In Interaction (15:38)
- Tool Animation Speed Matching (4:58)
- Project Files so far
- Introduction (3:37)
- Adding Money UI (7:13)
- Agent Data SO (10:11)
- Sell Manager Script (13:30)
- Testing Sell System (6:35)
- Adding AgentData to Player script (4:43)
- Adding Sell Box (7:35)
- Sell Box interaction (10:16)
- Sell Box UI Setup (10:12)
- Sell Box UI - Reusing UI Script (6:09)
- Sell Box Controller - Showing Inventory (12:09)
- Sell Box Controller - Selecting Items (19:01)
- Testing Swap Window logic (9:49)
- Putting Items Inside Sell box (15:59)
- Project Files So Far
- Introduction (3:20)
- ISavable (6:58)
- SaveManager (23:08)
- Scene Transition Spawner (11:04)
- Testing (2:52)
- Project Files So Far
- Saving Time (13:41)
- Saving Inventory (20:12)
- Saving Sell Box (6:04)
- Saving Tools (12:57)
- Getting Debris Positions (13:21)
- Saving Field Controller Data (23:58)
- Fix Watered Tiles not chaining (3:05)
- Project Files So Far