change mouse cursor on rollover of objects and hotspots

Started by Agent X, Thu 15/10/2009 04:17:36

Previous topic - Next topic

Agent X

Hey guys, this might seem like a simple question but i'm trying to create a simple rollover effect on hotspots and objects as used in the original Sam and Max. when the player rolls the mouse cursor over the object/hotspot it should change colour slightly to show that the object/hotspot is interactive. I want this to be the same for the entire game so i'm not sure if it should go in the global script?

any shove in the right direction would be appreciated :P

Matti

Yeah, the global script is the right place for that.

Sorry, I'm too lazy and tired right now to post some code but the forum search should be of great help since this is a question that has been asked about a hundred times before...

discordance

You don't really need any code. You can set that from the mouse modes node. Just choose the cursor, set a view, and set "Animate" and "Animate only over hotspots" to true.

Agent X

Thanks heaps for that, i realised that this had probably been asked before but I couldn't find anything in the search area.

discordance

I can never find anything in there either. I tend to just scour the manual. You'd be surprised how much stuff you can learn just poking through that humble document.

SMF spam blocked by CleanTalk