¿How to change pointer icon over hotspots or objects?

Started by eduarazo, Wed 03/12/2008 09:47:46

Previous topic - Next topic

eduarazo

I use the Sierra interface and I think it have a big inconvenient, cause the player don't know when something in the screen is interactive (there's no text displaying "Door" or "Key"). I think a possible solution is to change the pointer icon (the color, for example) when it's over a hotspot or object ¿Anyone nows how can I do it?

Also I'm interested in knowing how can I animate a secondary character continously (for example, a sleeping view made with 2 sprites) but at the same time allowing the playable character to move as normally.

Thanks  ;D

Dualnames

In order to have the player know if something interactable is below the mouse either, go and add a view at the mouse cursors. Via the panel. Select a mouse cursor and set animate when over something to true then set a view.

Or you can add GUI and put a label having as text this :@OVERHOTSPOT@

As for the character, put this:
cCharacter.LockView(View);
cCharacter.Animate(View of choice,cCharacter.Loop,5,eNoBlock,eForwards);

Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)


Khris

If you want more control, you can use GetLocationType.

To animate a character continuously, I'd use an IdleView and a delay of 0.

SMF spam blocked by CleanTalk