Stardew Valley–Inspired Farm Simulator

A desktop farming-life simulation I built with C++ and Cocos2d-x, combining crop growing, animal care, exploration, and character interactions.

  • Game
  • Interaction
Built with
C++ · Cocos2d-x · TMX

Game Mechanics

Players create their character and explore different locations, including outdoor areas, a house, a shop, and a mine. They can grow crops, raise animals, collect resources using different tools, and organize items through an inventory and storage system. Interactions with NPCs, including conversations and gift-giving, help build relationships. An in-game system of time, energy, money, and skills influences how players manage their daily activities and progress.

Work highlights

  • Built the character creation flow, tiled-map navigation, collision checks, and location-aware minimap.
  • Implemented farming, animal care, resource collection, and item management systems, including a toolbar, inventory, and chest storage.
  • Built NPC dialogue and relationship mechanics, integrating them with quests, rewards, and skill progression.
  • An in-game economy including tool purchases and mineral pricing based on quantity.

Demo