I've barely begun work on my Ludum Dare game-in-a-weekend challenge. But I'll have to drop out because I've just wasted seven hours swearing at hotspots. Can anybody figure out what's going on?
This isn't an adventure game, it's a sort of mutation video-poker machine. I've disabled all mouse modes except Interact. There are no characters, no inventory, none of that stuff. (Technically, there is a player character -- with an invisible sprite -- just so that the game can move from room to room.)
The game definitely recognises when the mouse is over a hotspot, but it does absolutely nothing when a hotspot is clicked. Here's an example I've just run as a test:
function hHead_AnyClick()
{
Display("CLICK");
}
Now, how simple is that? And yet it doesn't work. Nothing happens at all. Help!
This isn't an adventure game, it's a sort of mutation video-poker machine. I've disabled all mouse modes except Interact. There are no characters, no inventory, none of that stuff. (Technically, there is a player character -- with an invisible sprite -- just so that the game can move from room to room.)
The game definitely recognises when the mouse is over a hotspot, but it does absolutely nothing when a hotspot is clicked. Here's an example I've just run as a test:
function hHead_AnyClick()
{
Display("CLICK");
}
Now, how simple is that? And yet it doesn't work. Nothing happens at all. Help!