Twine Version: 188.8.131.52 Sugarcube Version: 2.36.1
I have an issue somewhat related to my previous post. I am trying to add a custom cursor system to my tile based puzzle, where whatever tile you are “holding”, as in the tile you clicked last which is the same as the value I want to set the slot to, shows up either hovering along with your cursor, or as your cursor in order to make it more clear what tile you “have” and what the slot will be filled with when you click it.
The issue has come from the fact that if I wanted to do it via CSS I would have to add around 41 CSS code blocks, each with an image path affecting the cursor while on a specific div element, along with writing 9 if/elseif statements into each puzzles passage (or 16 for a four by four puzzle). This feels WILDLY inefficient and I cant help but think there HAS to be some way to do it dynamically.
I’m at the point where I’m semi planning an idea to simply display the tile with a text caption on screen, but if I can do it the original way then i would very much so rather that.
Any help would be greatly appreciated!