invisibility stuff

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post 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.
lordyoukai.DA
My wraith is cooler than your dragon.
User avatar
Salathar
Junior member
Posts: 245
Joined: Mon Apr 26, 2004 12:21 am

Post 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? :)
mikeeusa22

Post 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? :)
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post 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.
mikeeusa22

Post 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.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

Now all thats needed is someone who understands libPNG....
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

I dont think you need libPNG tricks, you can easily just run convert all images into grayscale with using image magick.
lordyoukai.DA
My wraith is cooler than your dragon.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post 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.
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

There is always something called PNG documentation, so why dont you look up image manipulation?
lordyoukai.DA
My wraith is cooler than your dragon.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post 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.
Post Reply