While inside Areas & dealing with complex scenarios

My take on how to best approach complex Area collisions in Godot. BTW, when I say complex, I don’t mean Pro-level complex, but newbie level as per usual.

2 Likes

Great video and implementation! I was wondering, would it be better or worse if one used Resources instead of Dictionaries to keep track of the area entered data.

One use case, is if a player happens to save the game inside an area.

Edit: thinking about it more, maybe one would just need to save the Dictionary into the save file Resource.

I have only dealt with saving once for my sole published game. I used a dictionary for save data and another for settings. I think they both were on only one resource. But I second you on your solution.

Also, in the same vein, if we need to keep track of the areas on a global scale we can equally just pass the dictionary to an autoload variable.