Crank rotation help

Hello! As context for what it is that I need help with, I am just randomly messing around with Pulp, and am seeing if I can make a short First Person Dungeon Crawl sort of thing. There are four versions of each room, one for if you are facing north, one for if you are facing south, one for if you are facing east, one for if you are facing west. I want to make it so cranking the crank one direction will lead you through being in the north, west, south, east rooms, and the other will go north, east, south, west. How might I do this? Also, If your explanation actually has code that you write in it, it should be noted that I am horrible at understanding other peoples code, so please try to explain it. Thank you!!!

I believe something like this was already done in pulp, I recommend checking it out

Oh! Thanks for pointing this out to me!

1 Like