Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Uhfgood on Thu 26/07/2012 04:52:28

Title: animations on hotspots?
Post by: Uhfgood on Thu 26/07/2012 04:52:28
Can you make a hotspot have an animation (or view) associated with it?  Or do I need to make it an object for it to be animated?
Title: Re: animations on hotspots?
Post by: Feijotikus on Thu 26/07/2012 06:35:51
You can animate the background (importing different backgrounds for the same room) and set up the hotspot as usually
Title: Re: animations on hotspots?
Post by: Andail on Thu 26/07/2012 08:08:38
Eh, animating the whole room for the sake of one hotspot is not recommended.
Hotspots are not for animating; that's what you use objects for. This is the very basic nature of the hotspot vs. object mechanics.

If you've already drawn the hotspot and for some reason refuse to re-draw it as a sprite, you can always make the object a replica of the piece of background used for the hotspot, and paste it on, and then animate it.
Title: Re: animations on hotspots?
Post by: Crimson Wizard on Thu 26/07/2012 08:14:14
Quote from: Feijotikus on Thu 26/07/2012 06:35:51
You can animate the background (importing different backgrounds for the same room) and set up the hotspot as usually
That depends... if he needs several hotspots to animate independently and even more change animations over time or at certain events, then it is be better to use objects.
Also keep in mind that there could be only 5 frames in background animation.