Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mugs on Fri 17/03/2006 19:44:44

Title: Animating the "wait" cursor
Post by: Mugs on Fri 17/03/2006 19:44:44
Is there any way to make the "wait" cursor animate?  I've searched everywhere and I can't seem to find a solution.
Title: Re: Animating the "wait" cursor
Post by: Khris on Fri 17/03/2006 19:51:18
You can animate the wait cursor (just like any other cursor) by selecting it in the editor, checking "Animate" and entering the view number.

It's in the manual (http://www.adventuregamestudio.co.uk/manual/Mouse.ChangeModeView.htm), too.

I feel abused.
Title: Re: Animating the "wait" cursor
Post by: Mugs on Fri 17/03/2006 20:03:52
I've tried making the cursor animate before, and it doesn't work.Ã, 

Title: Re: Animating the "wait" cursor
Post by: strazer on Fri 17/03/2006 20:22:58
Have you unchecked the "Only when over a hotspot or object" and "Only when the mouse is moving" checkboxes?

Also, do you change to the Wait mode manually anywhere in your script? I'm not sure if mouse.UseModeGraphic for example supports animated cursors.

Please give us a step-for-step description of what you've tried so far.
Title: Re: Animating the "wait" cursor
Post by: Mugs on Fri 17/03/2006 20:26:26
Okay, I know what's going on.Ã,  While animating, it goes up to the 5th frame and then it goes back to the 1st one.Ã,  My animation contains 11 frames.Ã,  How can I make the animation go further than 5 frames, and how can I make it loop.
Title: Re: Animating the "wait" cursor
Post by: strazer on Fri 17/03/2006 20:34:57
You mean it animates once, then goes back and stays at the first frame?

The animation should loop automatically and it would be news to me if it only supported 5 frames. Are you sure you've set up the view correctly? All 11 frames are in loop 0 of the view? And the view number is correct?
Title: Re: Animating the "wait" cursor
Post by: Khris on Fri 17/03/2006 20:43:57
Check the SPD settings of the frames. I bet the last six frames are still set to 0.
Title: Re: Animating the "wait" cursor
Post by: Mugs on Fri 17/03/2006 20:53:33
It seems that a certain script(TypeLine) is messing up my cursor. The script repeats the wait function over and over again, which means the cursor doesn't get the change to display the next frame. Ã, 


There's nothing much I can do about it. Ã, 

Thanks anyways.