MegaDrive Posté(e) 23 février 2005 Share Posté(e) 23 février 2005 (modifié) 1.2 Zoom Profond 1.1 Zoom Modéré Modification 1.Ouvrir (default.xip/default.xap) Ajouter lvotre code préféré a la fin de tout 1.1 Zoom Modéré 1.2 Zoom Profond 1.1 Zoom Modéré //VIEWS function OnRightThumbMoveLeft() { var c = theMainMenu.children[0].children[0]; //the whole menu theMainMenuSpinner.rpm = 1; //speed of the cellwall spinner c.theMenuItems.SetAlpha(0); //makes all buttons etc invisvisible - SetAlpha(1) makes them visible again c.theMainMenuLevel.fade = 0.75; // speed of transition of view higher numbers = slower c.theMainMenuLevel.SetTranslation( 30, -104, 4 ); //positon c.theMainMenuLevel.SetRotation(2.369998,-15,27,3.5); // orientation } function OnRightThumbMoveRight() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 2; c.theMenuItems.SetAlpha(0); c.theMainMenuLevel.fade = 0.75; c.theMainMenuLevel.SetTranslation( 50, 0, -10 ); c.theMainMenuLevel.SetRotation(0,15.000440,0.5,27.576000); } function OnRightThumbMoveDown() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 3; c.theMenuItems.SetAlpha(0); c.theMainMenuLevel.fade = 0.75; c.theMainMenuLevel.SetTranslation( 50, 0, -10 ); c.theMainMenuLevel.SetRotation(0,15.000440,27.5.5,27.576000); } function OnRightThumbMoveUp() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 5; c.theMenuItems.SetAlpha(0);//gas c.theMainMenuLevel.fade = 0.75; c.theMainMenuLevel.SetTranslation( -6, 0, -10 ); c.theMainMenuLevel.SetRotation(-6,15.000440,27.5.5,27.576000); } function OnRightThumbDown() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 1.3; c.theMenuItems.SetAlpha(0); c.theMainMenuLevel.fade = 0.75; //c.theMainMenuLevel.SetScale(1.5,1.5,1.5); c.theMainMenuLevel.SetTranslation( -4.415000, 41.959999, 2.796000 ); c.theMainMenuLevel.SetRotation(-0.600300,0.598900,0.530000,-4.089000); c.theMenuItems.SetAlpha(1); } //ScreensaverInOut function OnRightDown() { bInScreenSaverView = true; if( CurrentViewpoint != theMainMenuViewpoint ) { theMainMenu.GoTo(); } DoScreenSaverView(); } function OnLeftDown() { bInScreenSaverView = false; var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 0; c.theMainMenuLevel.fade = 0.6; //c.theMainMenuLevel.SetScale(0,0, 0); c.theMainMenuLevel.SetRotation(0,0,0,0); c.theMainMenuLevel.SetTranslation(0,0,0); DisableCurrentAlternateViewpoint(); c.theMenuItems.SetAlpha(1); } //gas 1.2 Zoom Profond /////////////////////////////////////////////////////////VIEWS - gasfunction OnRightThumbMoveLeft() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 1; c.theMenuItems.SetAlpha(0); c.theMainMenuLevel.fade = 0.75; //c.theMainMenuLevel.SetTranslation( -50, 4, 4 ); c.theMainMenuLevel.SetScale(3,3,3); c.theMainMenuLevel.SetRotation(2.369998,15,-7,0.000005); } function OnRightThumbMoveRight() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 2; c.theMenuItems.SetAlpha(0); c.theMainMenuLevel.fade = 0.75; c.theMainMenuLevel.SetTranslation( 50, 0, -10 ); c.theMainMenuLevel.SetRotation(0,15.000440,0.5,27.576000); } function OnRightThumbMoveDown() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 3; c.theMenuItems.SetAlpha(0); c.theMainMenuLevel.fade = 0.75; c.theMainMenuLevel.SetScale(0.3,0.3,0.3); c.theMainMenuLevel.SetTranslation( 50, 0, -10 ); c.theMainMenuLevel.SetRotation(0,-15.000440,-3.5.5,-0.576000); } function OnRightThumbMoveUp() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 5; c.theMenuItems.SetAlpha(0); c.theMainMenuLevel.fade = 0.75; c.theMainMenuLevel.SetTranslation( -6, 0, -10 ); c.theMainMenuLevel.SetRotation(-6,15.000440,27.5.5,27.576000); } function OnRightThumbDown() { var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 1.3; c.theMenuItems.SetAlpha(0); c.theMainMenuLevel.fade = 0.75; //c.theMainMenuLevel.SetScale(1.5,1.5,1.5); c.theMainMenuLevel.SetTranslation( -4.415000, 41.959999, 2.796000 ); c.theMainMenuLevel.SetRotation(-0.600300,0.598900,0.530000,-4.089000); c.theMenuItems.SetAlpha(1); } ///////////////////////////////////////////////////////SCREENSAVER IN OUT function OnRightDown() { bInScreenSaverView = true; if( CurrentViewpoint != theMainMenuViewpoint ) { theMainMenu.GoTo(); } DoScreenSaverView(); } function OnLeftDown() { bInScreenSaverView = false; var c = theMainMenu.children[0].children[0]; theMainMenuSpinner.rpm = 0; c.theMainMenuLevel.fade = 0.6; c.theMainMenuLevel.SetScale(1, 1, 1); c.theMainMenuLevel.SetRotation(0,0,0,0); c.theMainMenuLevel.SetTranslation(0,0,0); DisableCurrentAlternateViewpoint(); c.theMenuItems.SetAlpha(1); } ////////////////////////////////////////////////////////////////////////// //Start and Back buttons are no longer bound to be the same as A and B buttons pour le faire marcher jouer avec le (Tumbstick) de droite pour revenir a la normale le boutton de gauche a l'arrière pour enclencher le Screen Saver boutton de droite a l'arrière Vraiment cool de gasclown de XBSCENE 7/10 Modérateur a épinglé aussi STP Modifié 24 février 2005 par MegaDrive Lien vers le commentaire Partager sur d'autres sites More sharing options...
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant