Resources in Resources in Array of Resources


As you may notices, this project is being developed with Godot 4.

I've used custom resources in other projects. This project involves a lot of different plant types, i initially designed this as a list of dictionaries, an entry for each plant type.

Today, i realized, this is going to take very long to implement all unique plants in a dictionary (may be with different attributes) therefore i thought i can give it a try to create list of custom resources. 

I create resource for each plan in a folder, load all files into a game as PlantResource with a loop and use them from that resource list.

Actually, my purpose is not to have a long post about the code, objects etc. 

I wanted to create a post to praise Godot Engine. It is an amazing game engine, which covers different use cases and help you to develop your games faster

Get Impossible Farm

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.