mugen chars, rare characters
Mugen | CHAT | Transparent Fading - Page 2 - Forum | Registration | Login
[New messages · Members · Forum rules · Search · RSS ]
  • Page 2 of 2
  • «
  • 1
  • 2
Transparent Fading
sgn_15Date: Monday, 2011-09-19, 9:25 AM | Message # 16
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
Quote (AkuShadow)
trans = add

add_alpha

read the mugen docs sctrl file


 
AkuShadowDate: Monday, 2011-09-19, 9:29 AM | Message # 17
Knight
Group: Users
Messages: 157
Awards: 1
Reputation: 1
Reproofs: 0%
Status: Offline
the alpha gives an error so i removed it.
 
sgn_15Date: Monday, 2011-09-19, 9:55 AM | Message # 18
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
remove the underscore. i said read the mugen docs

------------------------------------------------------------

Trans

------------------------------------------------------------



Overrides the player's animation transparency parameters for current game tick. Useful for special effects.



Required parameters:

trans = trans_type (string)

trans_type must be one of the following:

default - does nothing

none - disables transparency

add - draws with full additive transparency

addalpha - draws with additive transparency (alpha must be specified)

add1 - draws with additive transparency, with alpha at 256,128

sub - draws with full subtractive transparency



Optional parameters:

alpha = source_alpha, dest_alpha (int, int)

These are the source and destination alpha values for the addalpha

trans type. Valid values are from 0 (low) to 256 (high). If omitted,

defaults to 256,0.



Example:

; Fades the character in, over 256 ticks.

type = Trans

trigger1 = time < 256

trans = addalpha

alpha = time, 256-time


 
AkuShadowDate: Monday, 2011-09-19, 10:17 AM | Message # 19
Knight
Group: Users
Messages: 157
Awards: 1
Reputation: 1
Reproofs: 0%
Status: Offline
I downloaded someones full mugen which doesnt have the docs files. Sorry.
That code worked.
Of course this is only half.
 
sgn_15Date: Tuesday, 2011-09-20, 8:32 AM | Message # 20
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
Quote (AkuShadow)
I downloaded someones full mugen which doesnt have the docs files. Sorry.
That code worked.
Of course this is only half.

of course download the basic winmugen or 1.0 from elecbye.
half of what?


 
AkuShadowDate: Tuesday, 2011-09-20, 8:36 AM | Message # 21
Knight
Group: Users
Messages: 157
Awards: 1
Reputation: 1
Reproofs: 0%
Status: Offline
Quote (sgn_15)
half of what?

This only fade in I still need to fade out then back in like a glowing effect only its transparency.
 
sgn_15Date: Tuesday, 2011-09-20, 8:41 AM | Message # 22
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
Quote (AkuShadow)
This only fade in I still need to fade out then back in like a glowing effect only its transparency.

listen, did you read the docs??? you are only asking for codes ready to paste into mugen and work. are you trying to learn or just editing stuff ? because you are not going to learn if you just ask for codes WITHOUT trying to understand the codes.

just reverse the values of source and destination of alpha


 
AkuShadowDate: Tuesday, 2011-09-20, 9:03 AM | Message # 23
Knight
Group: Users
Messages: 157
Awards: 1
Reputation: 1
Reproofs: 0%
Status: Offline
Quote (sgn_15)
are you trying to learn or just editing stuff

If I had no inention I'd not be using mugen at all. I'm using this stuff with a character I'm making.
FYI its currently pretty basic so I'm still deciding on some things.
Quote (sgn_15)
just reverse the values of source and destination of alpha

I apparently tried that already as it is already in this topic, but you dont have
to respond, I've learned my lesson on asking for help.
 
sgn_15Date: Tuesday, 2011-09-20, 9:11 AM | Message # 24
God
Group: contributor
Messages: 2518
Awards: 4
Reputation: 31
Reproofs: 0%
Status: Offline
type = Trans

trigger1 = time < 256

trans = addalpha

alpha = 256-time , time


 
  • Page 2 of 2
  • «
  • 1
  • 2
Search:

Copyright MyCorp © 2024 Create a free website with uCoz