Mine has pixel art!! https://itch.io/jam/brackeys-12/rate/2970231
I've seen a couple of other really good ones too. I will try out you r guys soon!
Mine has pixel art!! https://itch.io/jam/brackeys-12/rate/2970231
I've seen a couple of other really good ones too. I will try out you r guys soon!
Nope! It is a flat array with a simple formula for the index:
index = row * number_of_columns + col
And the array stores references to nodes of a custom class called "BuildObject" which inherits from Node2D. It's a neat way to store all of that information.
I will probably cover it on my YouTube channel eventually, I think it's a really interesting topic.