![]() |
Changing TShowImg gani colors (formally TShowImg)
I'm using a gani for a showimg and trying to manipulate the alpha, r,g, and b values.
However, this seems to have no effect on the gani. Is it supposed to look like that or am I doing something wrong. |
Is playerlook == false in the TShowImg?
And it would be much more helpful if you could post the actual code. |
This is a horrible thread title
|
actor.alpha=.5;
|
PHP Code:
|
Quote:
|
saw HR's IM first, added actor.alpha = .3;
works now, thanks a bunch |
another question, is it possible to flip the ani rather than rotate it?
Trying to make a reflection of the player but it's currently impossible for any direction other than up/down |
Quote:
|
Stefan said flipping will be possible in the next version.
BTW, it sounds like you're trying to do the same thing I was :P |
Quote:
|
Quote:
|
Quote:
|
Well, I'd say dismiss the possibility of a workaround. I think anything more than one line to pull this off would be way too much effort for something that could easily be supported. Any work around would probably involve loops and/or multiple images for one image.
|
the only potential workaround I was able to think of was making the height negative, but I'm fairly certain that TShowImg has no height field anyway
@ Dusty: The idea was concocted by Ziplock for use in levels with ice, and I'm fairly certain he lifted the idea off of Zelda: Twilight Princess |
Quote:
Rescripted it in about 10 minutes... woohoo for highly inefficient & laggy workaround scripts! PHP Code:
|
Care to share?
EDIT: Well, I think I can slightly envision it now... several showimgparts that would put 0,0, at max.x, max.y, work your way in... |
Quote:
Stefan apparently is using my idea, which would allow you to apply a negative value to stretchx/y, which would 'stretch' them in the opposite direction -- flipped. As for how to flip manually, it would most likely involve a loop the size of the image width(or height, depending on what you're flipping) in pixels, and then cropping the image every 1 pixel and displacing each row of pixels yourself. It has been done before Graal even had rotation and such, but it's not very efficient. I don't even think it can be done with ganis. |
You can use negative zoom to flip a gani.
|
Quote:
you could reverse the directions but not all heads have identical left and right views |
Quote:
|
UH OH, I think Inverness just released Stan's friends super mega secret that'll be life changing for all scripters!!!11!11!eleven
|
Changing the zoom to -1 just rotates it 180 degrees. The players shield is on the wrong side, for example.
|
Quote:
|
Quote:
I'm so sorry, I didn't mean to waste such precious bandwidth. |
Quote:
-The Administration Not affiliated with Cyberjouers. |
| All times are GMT +2. The time now is 09:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.