Skip to content

jjoseph357/FarmSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fantasy Farm Simulator

A cozy 2D fantasy farming game built with Godot 4.x.

Features

Farming System

  • 20+ Fantasy Crops: Dragon Root, Mana Berries, Phoenix Wheat, Moonflower, and more
  • 5+ Magical Livestock: Magical Chickens, Wool Sprites, Milk Wisps, Helper Golems, Guard Gryphons
  • Tile-based farming with tilling, planting, watering, and harvesting
  • Land expansion by clearing rocks and trees

Trading & Business

  • Market stall in town with haggling system
  • Diverse fantasy customers (elves, orcs, mages, swordsmen, beastfolk, demons)
  • Business expansion from stall → store → multiple food stands
  • Employee hiring system with unique personalities and attributes

Relationships & Events

  • Build relationships with NPCs through dialogue and gifts
  • Romance system with eligible characters
  • Special random events (charity, rewards, challenges)

Progression

  • Currency system (gold, silver, bronze coins)
  • Character customization (gender, hair, clothing)
  • Shopping for tools, clothes, and farm upgrades
  • Addictive unlock and progression mechanics

Project Structure

FarmSim/
├── scenes/          # Godot scene files (.tscn)
├── scripts/         # GDScript files (.gd)
│   ├── managers/    # Game managers (time, economy, etc.)
│   ├── crops/       # Crop-related scripts
│   ├── npcs/        # NPC and AI scripts
│   └── ui/          # UI-related scripts
├── assets/          # Game assets
│   ├── sprites/     # 2D sprites and textures
│   ├── audio/       # Sound effects and music
│   └── fonts/       # Font files
├── data/            # Game data (crop definitions, NPC data, etc.)
└── ui/              # UI scene files

How to Play

Requirements

  • Godot 4.2 or later

Running the Game

  1. Download and install Godot 4.x
  2. Clone this repository
  3. Open the project in Godot by selecting the project.godot file
  4. Press F5 or click the Play button to start the game

Controls

  • WASD / Arrow Keys - Move player
  • E / Space - Interact / Use tool
  • Q - Cycle tools
  • 1, 2, 3 - Quick select tools
  • ESC - Menu

Getting Started

  1. Choose your character's gender at the start
  2. Wake up on your farm
  3. Till soil with the hoe (press 2)
  4. Plant seeds
  5. Water crops daily with watering can (press 3)
  6. Harvest when fully grown (press 1)
  7. Visit town to sell crops and meet NPCs
  8. Build relationships and expand your farm!

Game Systems

See GAME_DESIGN.md for comprehensive documentation on all game systems, NPCs, crops, and mechanics.

Key Features Implemented

  • ✅ 22 unique fantasy crops with varying growth times
  • ✅ 7 different livestock types (producers and helpers)
  • ✅ Tile-based farming system (till, plant, water, harvest)
  • ✅ Day/night cycle and seasonal system
  • ✅ Currency system (gold, silver, bronze)
  • ✅ 10+ NPCs with unique personalities and dialogue
  • ✅ Trading and haggling mechanics
  • ✅ Relationship and romance system
  • ✅ Special random events
  • ✅ Building and decoration placement
  • ✅ Land expansion (chop trees, break rocks)
  • ✅ Character customization

Development

This game is built using Godot 4.x with GDScript.

Architecture

  • Autoloaded Singletons for core game systems
  • Signal-based event system for decoupled communication
  • Data-driven design with separate data files for crops, NPCs, livestock
  • Tile-based grid system for farming mechanics

Contributing

Feel free to fork and submit pull requests!

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published