The idea is inspired by kofz, where I have seen flashy effects in fire attacks, like trails of fire. I understood quickly that they were arterimages. So I decided to write my own code for fire afterimage effect to use in my character. Here is an example of what was and what is now. (This afterimage makes an effect of hi-res sprites Only better, because the amout of frames is doubled)How to use:1) Choose an animation (effect) you want to change. Normally it could be an Explod or a Projectile. Now you must create a Helper where you will apply those AfterImages to the animation. However, if you just want to add an afterimage to normal projectiles just put AfterImage. tags in it (For more information read sctrls.html .-> Projectile).2) You must double the time of animation. In order to do that just go to your animations in .air file, locate the projectile's animation and add a blank frame with the duration of the whole anim. For example,8160,0, 0,0, 1,, A18160,1, 0,0, 1,, A18160,2, 0,0, 1,, A18160,3, 0,0, 1,, A18160,4, 0,0, 1,, A18160,5, 0,0, 2,, A18160,6, 0,0, 2,, A18160,7, 0,0, 2,, A18160,8, 0,0, 3,, A18160,9, 0,0, 3,, A18160,10, 0,0, 3,, A18160,11, 0,0, 2,, A1-1,-1, 0,0, 22Now if you have normal projectiles with a limited duration, you must double that duration for AfterImage to vanish properly. The duration is "ProjRemoveTime" parameter.3) First create a state which will be your AfterImaged animation. Add AfterImage controller there. For example:[Statedef 8100]anim = 8100sprpriority = 3[State 8100, AfterImage]type = AfterImagetrigger1 = !Timetime = 999length = 8PalContrast = 250,244,10PalAdd = 240,90,15PalMul = .6,.5,.25TimeGap = 2FrameGap = 1Trans = Add[State 8100, Commit Suicide]type = DestroySelftrigger1 = !AnimTimeIf you want this effect binded to a player just use a simple controller:[State 8100, Bind]type = BindToParenttriggerall = parent, StateNo = ()trigger1 = 1facing = 1pos = (),()4) Now create a Helper controller in the state you want it to appear. Example:[State 1000, 8100 Helper]type = Helpertrigger1 = AnimElem = 1Persistent = 0IgnoreHitPause = 1HelperType = NormalKeyCtrl = 0Name = "8100 Helper"ID = 8100PosType = P1Pos = 0,0StateNo = 8100PauseMove = 1SuperMove = 1PauseMoveTime = 2147483647SuperMoveTime = 2147483647Now edit the numbers of AfterImage controller to get the desired effect. Enjoy!Note: You could just use AfterImage. tags and turn Explods into Projectiles, as I was suggesting earlier, but it is a bad idea. This triggers AI in CPU matches, cheating them that there's a projectile on the screen. Also it would be harder to bind it if needed.
Messatsu, either you didn't read my post or you really don't understand that the meaning is not in the structure of the code, which you really can find in MUGEN docs, but in explict data that I presented. Numbers, Mugen (ç„¡é™