Hi all
I'm trying to work out the logistics for a grid movement on a board. Once you move to a square you might draw a tile (Random 1,2) that restricts your next movement to go only up, or only right, or only down and right, ect. Also have a system where it shows the available squares you can move to before you move. I came up with something that works great for showing all available spaces you can move to. but once you get a tile that should restrict your movement I can't seem to get that part to work.
Maybe I'm going about this all wrong! I found schrodinger has a great grid movement example with barriers which would be great, but it uses the up/down/left/right keys and I'd like to use mouse click movement. Not sure how to get that to work with his exactly. If anyone has any ideas it would be greatly appreciated!
MFA attached! I disabled the non-working groups just so you could see how it works without. The weird blue X's are the available spots
thanks a million!