Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: BlackMan890 on Wed 28/07/2004 18:04:32

Title: help by animating
Post by: BlackMan890 on Wed 28/07/2004 18:04:32
can anyone help me?

for exemple, i have a closet, and what i want is that, when the player uses it, it changes it view by showing it open

(http://www.geocities.com/jnatann/closetclosed.png)
http://www.geocities.com/jnatann/closetclosed.png

(http://www.geocities.com/jnatann/closetopen.png)
http://www.geocities.com/jnatann/closetopen.png

there should be a picture of a closet here
Title: Re: help by animating
Post by: Sam. on Wed 28/07/2004 19:09:16
add an object shwing the door as open. Make this object initially invisible using the check box. Then add a hotspot over the cupboard and use this hotpsots interact function to turn the object on. Then give the object an interaction to turn itself off
Title: Re: help by animating
Post by: Jet Kobayashi Zala on Wed 28/07/2004 19:32:22
Likewise, I think SetObjectGraphic () should do the trick as well.
Title: Re: help by animating
Post by: BlackMan890 on Wed 28/07/2004 20:36:46
thanks guys, you can use this sprite if you want ;)