Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 28/08/2003 14:43:35

Title: animated cursors
Post by: on Thu 28/08/2003 14:43:35
is it possible to make animated cursors ie
normal, over hotspot, click on hotspot a different image for each?
 thanks ;D

Paranoia
Title: Re:animated cursors
Post by: SSH on Thu 28/08/2003 15:44:35
You could put something in the global repeatedly_execute:

if (GetLocationType(mouse.x,mouse.y)==1) {
   SetCursorMode (your_hotspot_cursor_no_here);
} else {
   SetCursorMode (your_normal_cursor_here);
}

or you could even do more whizzy stuff with

GetHotspotProperty(GetHotspotAt(mouse.x,mouse.y))
and
GetObjectAt and GetCharacterAt, etc..
Title: Re:animated cursors
Post by: on Fri 29/08/2003 11:15:06
thanks SSH i'll give it a try ;D