I would like to change the sprite of my tiles if the current layout name is present inside an array.
Honestly I find somehow hard to understand the guides as I am not really into math or programming, but at first glance Construct makes it easy, although at the end the solution do not work...
First i populated the array with the records, then, when the sprite is created I check if the layout name is included in the array, if it is positive, I change animation.
I doesn't work at all, what am I missing?
Thank you in advance.