Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: scottmmmm on Mon 04/09/2006 17:08:06

Title: how would i do this part of my game?? (alternatives to animation)
Post by: scottmmmm on Mon 04/09/2006 17:08:06
I have a kitchen scene, where the top of the wall is very damp and dripping with water. the plan is to make the character use a pole to prod the damp spot, which makes the plaster fall in and allows you to get up to the room above.
PROBLEM
i tried making the rubble from the wall fall using animation but it was really unimpressive and took far too long. I was thinking about doing a sort of black out and sound effect or something so that i dont need to animate the stuff falling. How do i do this.
Any alternative ways to achieve this would be welcome
thanks
Title: Re: how whould i do this part of my game??
Post by: Ashen on Mon 04/09/2006 17:35:20
Read the Manual:
FadeOut() (http://www.adventuregamestudio.co.uk/manual/FadeOut.htm)
PlaySound() (http://www.adventuregamestudio.co.uk/manual/PlaySound.htm)

Or, if you could animate it in a way you find more impressive in some other program, save it as an flc animation, or an avi file and use PlayFlic() (http://www.adventuregamestudio.co.uk/manual/PlayFlic.htm)/PlayVideo() (http://www.adventuregamestudio.co.uk/manual/PlayVideo.htm)
Title: Re: how would i do this part of my game?? (alternatives to animation)
Post by: scottmmmm on Mon 04/09/2006 17:48:47
what programs would you suggest i use for animation? i have used windows paint so far and it looks ok but i would like to use something better for my next game, any suggestions?

also is there an wasy way to do a flash, like a white screen? i could make it that the character gets hit in the head and when he has come around the wall would have collapsed.
Title: Re: how would i do this part of my game?? (alternatives to animation)
Post by: Ashen on Mon 04/09/2006 18:00:50
Don't double post.

This isn't the forum for graphics program questions (and I wouldn't really have a suggestion for you if it was. Try The Big List of Paint Programs (linked in the READ BFEORE POSTING (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=14373.0) thread), or a forum search.

You can change the colour used by FadeOut, using SetFadeColor() (http://www.adventuregamestudio.co.uk/manual/SetFadeColor.htm) (which is mentioned in the manual entry for FadeOut) - perhaps you could use that and a quick fade for the 'flash'? You might also be interested in ShakeScreen and ShakeScreenBackground, to enhance the effect.