Learn › Godot 2D Intermediate

Lesson 3 of 5 · About 6 min

Crops are numbers

How Sunny Acres' three crops differ only in a few numbers, and how those numbers decide what a smart farmer plants.

A small farm

Sunny Acres is a farming game for Godot. The stick walks, A does the right thing for the tile you face: till, plant, water, harvest, fill the can at the pond, sell at the stall, talk to Mina. B picks the next seed. Win by filling Mina's orders or by earning EARN_GOAL coins in three days.

Every crop is one row of CROPS: its name, what a seed costs, what it sells for, how many seconds it takes to grow, and its colours and shape.

Godot 2D Intermediate is a course for paid accounts. The rest of this lesson, and its guided session, are in the app.

Start makingDownload on the App StoreGet it on Google Play