Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Etcher Squared Games on Mon 14/03/2005 01:51:22

Title: Draw only parts of objects
Post by: Etcher Squared Games on Mon 14/03/2005 01:51:22
I'm fairly sure this has been asked before, but I couldn't find the right words to search for.  So, my apologies up front if this exists in the board.  Just point me to threads if they exist on this question...

I would like to show only parts of an object.  Sort of a "flashlight" affect... I only know how to show all or none of an object.

thanks
Title: Re: Draw only parts of objects
Post by: Scummbuddy on Mon 14/03/2005 01:53:34
do you want an all dark room, and have the cursor act as a flashlight circle?

there is a flashlight plugin for that. otherwise, it would be essentially impossible.
Title: Re: Draw only parts of objects
Post by: Etcher Squared Games on Mon 14/03/2005 02:00:37
it's a bit complicated.

I have objects in my room that can range from the entire 0 - 100 percent transparency.

I want a cursor such that items that are still 75+ transparency to move to 75% trans.  It would look cool if it was only parts of the object that is within say 10 pixels of the cursor.
Title: Re: Draw only parts of objects
Post by: Radiant on Mon 14/03/2005 11:54:23
No, that's not currently possible. Or you'd have to split the object into four or nine partial objects, and transparentize them as appropriate.