invisibility stuff
Moderator: Board moderators
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.
My wraith is cooler than your dragon.
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?
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead
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.
My wraith is cooler than your dragon.
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead
There is always something called PNG documentation, so why dont you look up image manipulation?
lordyoukai.DA
My wraith is cooler than your dragon.
My wraith is cooler than your dragon.
-
- Forum Fanatic
- Posts: 852
- Joined: Sun Jun 13, 2004 2:07 am
- Location: Hemel Hempstead
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.
And no, before mike jumps on this thread, I consider ncurses to be graphical interface.