In the past, I made a game that used a tilemap as the background and used invisible sprites as walls (let's call them sprite-blocks).
This worked pretty well.
I am about to embark on a similar journey, but I want to see if there is a better way to go about the sprite-block thing. The way I have it set up now, is I use a sprite with the solid behavior, so when the player walks into it, it prevents them from walking any further. Like I said, this works well, except the number of invisible sprite-blocks can get very large very quickly.
Is there a better way to create this sprite-block system? I would really like to have the blockers be collected into one object, like the tilemap is, so that I can easily switch out the tilemap and the blockmap at the same time.
I hope I explained that well enough. Please let me know if I didnt.