So I'm trying to fill my game up with lots of little cosmetic interactions... Like sitting down on a chair when you touch one. Made a sprite of a guy sitting down on a chair. Tricky part is making it functional.
See, making the hero sit down is easy enough. Made a chair event, set it to touch trigger, and if the hero touches it he changes to his "sitting down" sprite. The problem is, I can't check if the hero is -not- touching an event. So I can't change his sprite back.
I've thought of two ways I could do this. I could either put the hero's coordinates in variables, and change his sprite to normal when his coordinates do not match those of the chair. Or I could surround the chair with touch events that change the hero sprite back. Both are pretty convoluted for something as simple as sitting down on a chair.
Maybe I'm thinking too hard about this and there's a simpler way, but I can't come up with one. Anyone have ideas?