Accueil du SiteAccueil du Site  AccueilAccueil  Dernières imagesDernières images  RechercherRechercher  ConnexionConnexion  S'enregistrerS'enregistrer  



Le Deal du moment : -39%
Pack Home Cinéma Magnat Monitor : Ampli DENON ...
Voir le deal
1190 €

Partagez
 

 [XP] MAIN AMÉLIORÉ

Voir le sujet précédent Voir le sujet suivant Aller en bas 
AuteurMessage
eddy_de_galdon
Chevalier Dragon (niveau 2)
Chevalier Dragon (niveau 2)
eddy_de_galdon

Masculin
Messages postés : 807
Date d'inscription : 31/08/2013
Jauge LPC :
[XP] MAIN AMÉLIORÉ 891527140052 / 10052 / 100[XP] MAIN AMÉLIORÉ 8915271400


[XP] MAIN AMÉLIORÉ Membre10
[XP] MAIN AMÉLIORÉ Projet16
[XP] MAIN AMÉLIORÉ Collec10


[XP] MAIN AMÉLIORÉ Empty
MessageSujet: [XP] MAIN AMÉLIORÉ   [XP] MAIN AMÉLIORÉ EmptyMer 4 Sep 2013 - 15:18

Bonjour !!!

si vous avez eu des problemes avec ceci, 
self.contents.font.name = $fontface
self.contents.font.size = $fontsize
ou si vous voulez changer la police de votre jeu (la meme pour tous )
remplacer le main de base par celui ci :

Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  # Change the $fontface variable to change the font style
$defaultfonttype = $fontface = $fontname = Font.default_name = "Kristen ITC"
# Font size used
$defaultfontsize = $fontsize = Font.default_size = 26
# Font type
$defaultfonttype = $fontface = $fontname = Font.default_name = "Kristen ITC"
# Font size
$defaultfontsize = $fontsize = Font.default_size = 26
  # Prepare for transition
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Title.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end


pour changer la taille et la police c'est très simple !!!
[XP] MAIN AMÉLIORÉ 2013-030

exemple avec la police "Chiller" :
[XP] MAIN AMÉLIORÉ 2013-031

(assurer vous de ne pas faire de fautes dans l’écriture de la police.)
(pour voir toutes les polices installé sur votre PC, chercher le fichier polices (NON, JURE !!!))

voila, c'est fini !


Dernière édition par eddy_de_galdon le Mar 1 Oct 2013 - 18:16, édité 1 fois
Revenir en haut Aller en bas
trucbidule
Modératrice
Modératrice
trucbidule

Féminin
Messages postés : 1758
Date d'inscription : 28/04/2013
Jauge LPC :
[XP] MAIN AMÉLIORÉ 891527140075 / 10075 / 100[XP] MAIN AMÉLIORÉ 8915271400

[XP] MAIN AMÉLIORÉ Partag10
[XP] MAIN AMÉLIORÉ Membre10
[XP] MAIN AMÉLIORÉ Testeu10
[XP] MAIN AMÉLIORÉ Promot10
[XP] MAIN AMÉLIORÉ Collec10
[XP] MAIN AMÉLIORÉ Collec11
[XP] MAIN AMÉLIORÉ Collec12
[XP] MAIN AMÉLIORÉ Collec13
[XP] MAIN AMÉLIORÉ Cookie10


[XP] MAIN AMÉLIORÉ Empty
MessageSujet: Re: [XP] MAIN AMÉLIORÉ   [XP] MAIN AMÉLIORÉ EmptyMer 4 Sep 2013 - 17:16

Et l'indentation originale du code ? Il faut mettre le script entre balises "code" et non "spoiler" si tu veux la préserver, parce qu'avec des scripts plus longs ça devient complètement illisible. Enfin, merci du partage !
Revenir en haut Aller en bas
http://trucbidulebond.deviantart.com/
City Hunter
Administrateur
Administrateur
City Hunter

Masculin
Messages postés : 6523
Date d'inscription : 25/05/2011
Jauge LPC :
[XP] MAIN AMÉLIORÉ 891527140040 / 10040 / 100[XP] MAIN AMÉLIORÉ 8915271400

[XP] MAIN AMÉLIORÉ Staffe10
[XP] MAIN AMÉLIORÉ Mappeu10
[XP] MAIN AMÉLIORÉ Membre15
[XP] MAIN AMÉLIORÉ Testeu10
[XP] MAIN AMÉLIORÉ Promot10
[XP] MAIN AMÉLIORÉ Projet10
[XP] MAIN AMÉLIORÉ Projet16
[XP] MAIN AMÉLIORÉ Riche_10
[XP] MAIN AMÉLIORÉ Travai10
[XP] MAIN AMÉLIORÉ Collec10
[XP] MAIN AMÉLIORÉ Collec11
[XP] MAIN AMÉLIORÉ Collec12
[XP] MAIN AMÉLIORÉ Collec13
[XP] MAIN AMÉLIORÉ Pandac10
[XP] MAIN AMÉLIORÉ 10000011


[XP] MAIN AMÉLIORÉ Empty
MessageSujet: Re: [XP] MAIN AMÉLIORÉ   [XP] MAIN AMÉLIORÉ EmptyMer 4 Sep 2013 - 17:51

Merci du partage. Je t'ajoute des points.
Revenir en haut Aller en bas
Raven
Administrateur
Administrateur
Raven

Masculin
Messages postés : 1338
Date d'inscription : 20/04/2013
Jauge LPC :
[XP] MAIN AMÉLIORÉ 891527140041 / 10041 / 100[XP] MAIN AMÉLIORÉ 8915271400

[XP] MAIN AMÉLIORÉ Membre15
[XP] MAIN AMÉLIORÉ Dessin10
[XP] MAIN AMÉLIORÉ Graphi10
[XP] MAIN AMÉLIORÉ Collec10
[XP] MAIN AMÉLIORÉ Collec11
[XP] MAIN AMÉLIORÉ Collec12
[XP] MAIN AMÉLIORÉ Collec13
[XP] MAIN AMÉLIORÉ Red_ra11
[XP] MAIN AMÉLIORÉ Action10
[XP] MAIN AMÉLIORÉ Mappeu10
[XP] MAIN AMÉLIORÉ Projet10


[XP] MAIN AMÉLIORÉ Empty
MessageSujet: Re: [XP] MAIN AMÉLIORÉ   [XP] MAIN AMÉLIORÉ EmptyMer 4 Sep 2013 - 18:31

Sympa le tuto, par contre, il y a une faute dans le titre du sujet "Amélioré" et non "améliorer". Wink
Revenir en haut Aller en bas
http://redrustyraven.blogspot.fr https://www.facebook.com/RedRustyRaven
eddy_de_galdon
Chevalier Dragon (niveau 2)
Chevalier Dragon (niveau 2)
eddy_de_galdon

Masculin
Messages postés : 807
Date d'inscription : 31/08/2013
Jauge LPC :
[XP] MAIN AMÉLIORÉ 891527140052 / 10052 / 100[XP] MAIN AMÉLIORÉ 8915271400


[XP] MAIN AMÉLIORÉ Membre10
[XP] MAIN AMÉLIORÉ Projet16
[XP] MAIN AMÉLIORÉ Collec10


[XP] MAIN AMÉLIORÉ Empty
MessageSujet: Re: [XP] MAIN AMÉLIORÉ   [XP] MAIN AMÉLIORÉ EmptyMar 1 Oct 2013 - 18:18

j'ai corriger un problème avec le script (je l'ai changé dans le premier article de sujet)
le jeu se lancer en grand écran avec des bugs intervenant dans le jeu.Maintenant, c'est réglo !
Revenir en haut Aller en bas
Myléa
Paysan (niveau 5)
Paysan (niveau 5)
Myléa

Masculin
Messages postés : 41
Date d'inscription : 25/09/2013
Jauge LPC :
[XP] MAIN AMÉLIORÉ 891527140096 / 10096 / 100[XP] MAIN AMÉLIORÉ 8915271400


[XP] MAIN AMÉLIORÉ Empty
MessageSujet: Re: [XP] MAIN AMÉLIORÉ   [XP] MAIN AMÉLIORÉ EmptyMar 1 Oct 2013 - 21:02

C'est rigolo Eddy, mais plus tu postes de "modification" de scripts, plus j'ai peur de ce que tu vas faire la prochaine fois...
C'est assez ignoble ta modification, dans le sens où tu n'as strictement rien fait en fait.

Le main de XP est de base (je cite) :
Spoiler:

Or, ta modification n'apporte rien, si ce n'est des coups de lag à cause de la création de 5/6 variables globales en plus (surtout que tu répètes deux fois de suite la même ligne). Donc désolé, mais pour moi, c'est non.
Revenir en haut Aller en bas
eddy_de_galdon
Chevalier Dragon (niveau 2)
Chevalier Dragon (niveau 2)
eddy_de_galdon

Masculin
Messages postés : 807
Date d'inscription : 31/08/2013
Jauge LPC :
[XP] MAIN AMÉLIORÉ 891527140052 / 10052 / 100[XP] MAIN AMÉLIORÉ 8915271400


[XP] MAIN AMÉLIORÉ Membre10
[XP] MAIN AMÉLIORÉ Projet16
[XP] MAIN AMÉLIORÉ Collec10


[XP] MAIN AMÉLIORÉ Empty
MessageSujet: Re: [XP] MAIN AMÉLIORÉ   [XP] MAIN AMÉLIORÉ EmptyMer 2 Oct 2013 - 14:34

MYLEA :peut-être que tu as le changement de police grâce au patch français (oula le niveau d'anglais !)
dans la version original le script main est :
Code:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
#  After defining each class, actual processing begins here.
#==============================================================================

begin
  # Prepare for transition
  Graphics.freeze
  # Make scene object (title screen)
  $scene = Scene_Title.new
  # Call main method as long as $scene is effective
  while $scene != nil
    $scene.main
  end
  # Fade out
  Graphics.transition(20)
rescue Errno::ENOENT
  # Supplement Errno::ENOENT exception
  # If unable to open file, display message and end
  filename = $!.message.sub("No such file or directory - ", "")
  print("Unable to find file #{filename}.")
end
donc le script sert pour ce qui ont la version Original.
Revenir en haut Aller en bas
Contenu sponsorisé




[XP] MAIN AMÉLIORÉ Empty
MessageSujet: Re: [XP] MAIN AMÉLIORÉ   [XP] MAIN AMÉLIORÉ Empty

Revenir en haut Aller en bas
 
[XP] MAIN AMÉLIORÉ
Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» [VX]Menu amélioré
» Antilag amélioré (VX)
» Curseur amélioré
» [XP]Menu équipement amélioré
» [VX] Défilement de l'écran amélioré

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Le Palais Créatif :: ~ PARTAGE ~ :: Scripts et plugins :: RPG Maker XP :: Système-
Sauter vers: