Creating Resources
Learn how to create and configure resources in your project
Creating Resources
Resources represent the materials and consumables in your game — wood, iron, crystals, energy, and more. Unlike currencies, resources are typically gathered, crafted, and consumed within gameplay systems. You manage them from the Resources page under Game Data in The Leap.
Step-by-Step Breakdown
Step 1: Navigate to Resources
From the left sidebar, expand the Game Data section and click Resources. This opens the Resources page, which lists all resources in your project.
Step 2: Select a Workspace
Before you can create or edit resources, you need an active workspace. If you're currently on Main, open the workspace switcher in the header and select or create a workspace. If you haven't set one up yet, see Working with Workspaces first.
Step 3: Click "Create Resource"
With a workspace active, click the Create Resource button in the top-right corner of the page. This opens the Create New Resource dialog.
Step 4: Fill In Resource Details
Fill in the following fields in the dialog:
- Resource ID — A unique identifier for this resource (alphanumeric characters and underscores only, e.g.
wood,iron,crystal). This cannot be changed after creation. - Icon — Click the icon field to open the icon picker and choose a visual icon for your resource.
- Description — An optional text field to describe the resource's purpose (e.g. "Primary crafting material gathered from forests").
- Min Value — The minimum amount a player can have for this resource (defaults to 0).
- Max Value — The maximum amount a player can hold (defaults to 999,999). Use this to set inventory limits on specific resources.
Step 5: Configure Acquisition Cost & Amount (Optional)
The Acquisition Cost & Amount section lets you define how players can obtain this resource by spending other resources or currencies. This is useful for setting up crafting recipes or exchange rates (e.g., 10 wood for 5 iron).
To add a conversion:
- Click Add Cost to create a cost option.
- Set the Amount Awarded — how much of this resource the player receives when they pay the cost.
- Use the element selector to pick which resource, currency, or item the player must spend, and set the quantity required.
- To require multiple ingredients for a single conversion, click Add Resource to this option.
- To offer alternative ways to acquire the resource, click Add Alternative Cost. Players can use any one of the cost options (OR logic).
Step 6: Create the Resource
Click Create Resource to save. Your new resource appears in the resources list on the page.
Exploring Resource Flow
Once you've created resources and connected them to other game elements, you can visualize how each resource flows through your economy. In the resources list, click the Explore Flow button (the green link icon in the Actions column) on any resource row. This opens the Element Flow page, where you can see how the resource is produced and consumed across your game systems.
Next Steps
With your resources set up, continue to Creating Items to keep building your game economy.