Page 2 of 3

Posted: Mon Feb 07, 2005 9:13 pm
by bort
Better yet, just replace the player with a greyed out image of themselves, so the player can see themselves, whilst others see nothing. Or put a tint to the player when in invis. Think how Starcraft wriaths were greyed out for you, but opponent could not see them. Think Doom 2's invis cloak that greyed you out, but you still saw yourself. You can code into this.

Posted: Tue Feb 08, 2005 12:31 am
by Salathar
Looks like what needs doing is:

* Create a set of 'invisible' player images.
* Add some code that would change players appearance depending on whether 'invisible 1' is set on the character

Ayone feels like digging in? :)

Posted: Tue Feb 08, 2005 6:48 pm
by mikeeusa22
Yo G no image is needed Ight, All the klyentz got z to do is gray scale duh imagde and plop it down (east khozt) like whoa when the player char has invisible=1... G
Salathar wrote:Looks like what needs doing is:

* Create a set of \'invisible\' player images.
* Add some code that would change players appearance depending on whether \'invisible 1\' is set on the character

Ayone feels like digging in? :)

Posted: Wed Feb 09, 2005 5:44 am
by cavesomething
A nicer solution, given that pngs are being used, is to set the transparancy to 50%-ish. This should look far more ghostly.

Posted: Mon Feb 14, 2005 6:13 pm
by mikeeusa22
cavesomething wrote:A nicer solution, given that pngs are being used, is to set the transparancy to 50%-ish. This should look far more ghostly.
I agree.

Posted: Mon Feb 14, 2005 6:32 pm
by cavesomething
Now all thats needed is someone who understands libPNG....

Posted: Tue Feb 15, 2005 5:29 am
by bort
I dont think you need libPNG tricks, you can easily just run convert all images into grayscale with using image magick.

Posted: Tue Feb 15, 2005 5:59 am
by cavesomething
But then you are increasing the number of images, if you use libPNG it is done client side. And transparancy is nicer than greyscale.

Posted: Tue Feb 15, 2005 6:22 am
by bort
There is always something called PNG documentation, so why dont you look up image manipulation?

Posted: Tue Feb 15, 2005 6:28 am
by cavesomething
Well, I could I guess, but I never bother with graphical interface type stuff. It just isn't interesting to write. I far prefer feidishly complicated command-line apps ('cept I find myself using fortran and perl mostly).

And no, before mike jumps on this thread, I consider ncurses to be graphical interface.