Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Cookie Cutter MZ - Resource Gathering System

A project template for RPG Maker MZ. Copy and paste it into your own project to utilize a resource gathering system! · By Caz

Resource Respawn

A topic by Dewbeeee created 36 days ago Views: 47 Replies: 2
Viewing posts 1 to 2
(1 edit)

So I have a question. I’m using this for an adventure game—how can I make these resources respawn after a certain amount of time? For example, after 1 hour of the player playing, the resources respawn. Also, how do I prevent the game from freezing after I fully harvest the resource?

Developer

You can use a <Self> variable as a counter on each resource and a parallel process to subtract 1 from it until it reaches 0, at which point you can trigger it to respawn.

Is the game freezing in the vanilla project files or only after you add it to your own game? It may be a clash with your existing files.

I appreciate the response, but I figured it out. I wasn’t running the parallel process when the node was depleted.