1. Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies. En savoir plus.

PS3 Transitional texte By Elite Mossy Effet de zoom au chamgement des menu

Discussion dans '[MW2] Patchs, CFG, eboots & tools' créé par Love, 6 Mars 2011.

We advise you that check beforehand the content that you download.
It is likely that some content is infected, please verify the reliability of this content.

  1. Love

    Love Dieu Reality Ancien staff

    Inscrit:
    28 Février 2011
    Messages:
    1 500
    Appréciations:
    593
    Points:
    4 798
    K-BRIZZEL :


    CODE OPRIMISER:


    Code a ajouter dans ----------> DrawMenu();

    Code:
    display[i] transitionSlideOut(1,"right"); 
    Le MEME CODE NON OPTIMSER:

    ( Si vous voullez le modifier a votre guise, "Par contre il faudra le reOptimiser" pour le reutiliser )

    Code:
    transitionZoomIn( duration )
    {
    switch ( self.elemType )
    {
    case "font":
    case "timer":
    self.fontScale = 6.3;
    self changeFontScaleOverTime( duration );
    self.fontScale = self.baseFontScale;
    break;
    case "icon":
    self setShader( self.shader, self.width * 6, self.height * 6 );
    self scaleOverTime( duration, self.width, self.height );
    break;
    }
    }
    
    
    transitionPulseFXIn( inTime, duration )
    {
    transTime = int(inTime)*1000;
    showTime = int(duration)*1000;
    
    switch ( self.elemType )
    {
    case "font":
    case "timer":
    self setPulseFX( transTime+250, showTime+transTime, transTime+250 );
    break;
    default:
    break;
    }
    }
    
    
    transitionSlideIn( duration, direction )
    {
    if ( !isDefined( direction ) )
    direction = "left";
    
    switch ( direction )
    {
    case "left":
    self.x += 1000;
    break;
    case "right":
    self.x -= 1000;
    break;
    case "up":
    self.y -= 1000;
    break;
    case "down":
    self.y += 1000;
    break; 
    }
    self moveOverTime( duration );
    self.x = self.xOffset;
    self.y = self.yOffset;
    }
    
    
    transitionSlideOut( duration, direction )
    {
    if ( !isDefined( direction ) )
    direction = "left";
    
    gotoX = self.xOffset;
    gotoY = self.yOffset;
    
    switch ( direction )
    {
    case "left":
    gotoX += 1000;
    break;
    case "right":
    gotoX -= 1000;
    break;
    case "up":
    gotoY -= 1000;
    break;
    case "down":
    gotoY += 1000;
    break; 
    }
    
    self.alpha = 1;
    
    self moveOverTime( duration );
    self.x = gotoX;
    self.y = gotoY;
    }
    
    
    transitionZoomOut( duration )
    {
    switch ( self.elemType )
    {
    case "font":
    case "timer":
    self changeFontScaleOverTime( duration );
    self.fontScale = 6.3;
    case "icon":
    self scaleOverTime( duration, self.width * 6, self.height * 6 );
    break;
    }
    }
    
    
    transitionFadeIn( duration )
    {
    self fadeOverTime( duration );
    if ( isDefined( self.maxAlpha ) )
    self.alpha = self.maxAlpha;
    else
    self.alpha = 1;
    }
    
    
    transitionFadeOut( duration )
    {
    self fadeOverTime( 0.15 );
    self.alpha = 0;
    }
    Enjoy , merci K-BRIZZEL
     


  2. HeAdShOtGaMeR_bis

    HeAdShOtGaMeR_bis Membre

    Inscrit:
    18 Juin 2011
    Messages:
    43
    Appréciations:
    12
    Points:
    68
  3. -MJ-

    -MJ- Espadas numéros uno Ancien staff

    Inscrit:
    10 Juin 2011
    Messages:
    1 036
    Appréciations:
    372
    Points:
    4 283
    Merci du partage.
     
  4. Axelouche

    Axelouche Ancien Super-Modérateur Ancien staff

    Inscrit:
    15 Mars 2011
    Messages:
    645
    Appréciations:
    95
    Points:
    3 908
    Merci , mais un tuto pour le RéOptimiser serait la bienvenue .
     
Brouillon sauvegardé Brouillon supprimé

Partager cette page

Publicité