Thanks for playing, I was gonna make the blocks underneath the merchants unbreakable but it didn't work for some reason. Idk, just last minute code :/
Viewing post in Spectral Cave jam comments
Haha, I know the feeling. :p
I think it wouldn’t have been an issue if you weren’t able to accidently break the blocks while being in the shop tough. One tip I can give for the future: in most engines you can make UI Elements stop the mouse so it’s impossible to click things underneath them. Otherwise, if you’d used an Input Action system you could have simply disabled the mining input while inside the shop.
Well, I'm always getting the block the mouse is hovering over, which is kinda inefficient.
It's only when the game encounters a mouse click that it starts to damage the block, it's coded in such a way that no UI elements can stop it D:
If i continue development after the jam I'll fix all these issues and hopefully make the code more efficient, thanks for the tips though!