Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: left on Sat 30/04/2005 22:45:25

Title: animating cursors
Post by: left on Sat 30/04/2005 22:45:25
i am trying to animte the cusor when over abjects and hotspots. so i have clicked the animate over hotspot button and assigned it a view.

When the mouse is over the hotspots it only changes the graphic to the secound frame. Is it not possible to have for example a 5 frame animation for the cursor

thanks
Title: Re: animating cursors
Post by: Scummbuddy on Sun 01/05/2005 00:46:30
it should work correctly. can we see the code/call you made to have it work? did you use the room interactions window? are you certain you set up your animation view correctly?
Title: Re: animating cursors
Post by: left on Sun 01/05/2005 15:59:17
Not sure what you mean about the room interactions window. Do you mean i would have to write a code which states when over hotspot animate cursor

What i did was, check the "Animate" checkbox . Give it  view 9

my animation was then put in view 9 in loop 0


thanks
Title: Re: animating cursors
Post by: left on Sun 01/05/2005 16:44:25
sorry, i have figured it out.

I was using the on key pressed function, so in my game you hold down the button e.g. I for interact. This was overiding the animation

thanks anyway

Title: Re: animating cursors
Post by: TerranRich on Mon 02/05/2005 01:40:19
No problem...you seem to be fixing your problems on your own a lot lately. ;)