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



Le Deal du moment : -50%
-50% Baskets Nike Air Huarache Runner
Voir le deal
69.99 €

Partagez
 

 problème variable ruby RMXP

Voir le sujet précédent Voir le sujet suivant Aller en bas 
AuteurMessage
Kasbak
Membre V.I.P.
Membre V.I.P.
Kasbak

Masculin
Messages postés : 1356
Date d'inscription : 05/01/2013
Jauge LPC :
problème variable ruby RMXP 8915271400100 / 100100 / 100problème variable ruby RMXP 8915271400

problème variable ruby RMXP Dragon10
problème variable ruby RMXP Meille12
problème variable ruby RMXP Membre10
problème variable ruby RMXP Projet12
problème variable ruby RMXP Riche_10
problème variable ruby RMXP Altrui10
problème variable ruby RMXP Membre10
problème variable ruby RMXP Membre15
problème variable ruby RMXP Event-10
problème variable ruby RMXP Partag10
problème variable ruby RMXP Projet10
problème variable ruby RMXP Mappeu10
problème variable ruby RMXP Collec10


problème variable ruby RMXP Empty
MessageSujet: problème variable ruby RMXP   problème variable ruby RMXP EmptyVen 22 Jan 2016 - 13:26

Bonjour, j'aurais besoin d'aide pour un script, il faudrait lorsque j'ouvre un scene_windows il y ait des variables qui bougent en temps réelles, pour essayer d'être clair imaginons je met dans mon jeu une variable aléatoire qui choisira un chiffre entre 1 et 10, maintenant si je veut l'afficher dans mon menu script,
 

self.contents.draw_text(402, 383, 300, 32, $game_variables[483].to_s

Mais la variable vas jamais bouger parce que quand j'ouvre un menu scene_ les processus parallèle du jeu s'arrete -_- , du coup faudrait un truc pour que la variable ce modifie dans le menu scene_ en temps réel , genre :

 
$game_variables[483] =  valeur aleatoire entre 1 et 5

wait 10 seconde et re valeur aleatoire en 1 et 5.
Et la variable changerais du coup tout les 10 secondes dans le menu.



Je n'arrive pas à faire un code qui fonctionne donc si quelqu'un pouvait m'aider ça serais sympa.
Revenir en haut Aller en bas
http://kasbakprod.wifeo.com/ http://kasbak.deviantart.com/
Mr.ML
Chevalier (niveau 2)
Chevalier (niveau 2)
Mr.ML

Masculin
Messages postés : 86
Date d'inscription : 09/12/2014
Jauge LPC :
problème variable ruby RMXP 89152714000 / 1000 / 100problème variable ruby RMXP 8915271400


problème variable ruby RMXP Empty
MessageSujet: Re: problème variable ruby RMXP   problème variable ruby RMXP EmptyDim 9 Oct 2016 - 22:02

en évent sa ferais : attendre 10 seconde ( en gros) puits retour a l’étiquette ou alors directement une boucle mais en ruby je peut pas vraiment t'aides mais tu a déjà une idée comment faire !
Revenir en haut Aller en bas
Kasbak
Membre V.I.P.
Membre V.I.P.
Kasbak

Masculin
Messages postés : 1356
Date d'inscription : 05/01/2013
Jauge LPC :
problème variable ruby RMXP 8915271400100 / 100100 / 100problème variable ruby RMXP 8915271400

problème variable ruby RMXP Dragon10
problème variable ruby RMXP Meille12
problème variable ruby RMXP Membre10
problème variable ruby RMXP Projet12
problème variable ruby RMXP Riche_10
problème variable ruby RMXP Altrui10
problème variable ruby RMXP Membre10
problème variable ruby RMXP Membre15
problème variable ruby RMXP Event-10
problème variable ruby RMXP Partag10
problème variable ruby RMXP Projet10
problème variable ruby RMXP Mappeu10
problème variable ruby RMXP Collec10


problème variable ruby RMXP Empty
MessageSujet: Re: problème variable ruby RMXP   problème variable ruby RMXP EmptyLun 10 Oct 2016 - 0:10

Ouai t'inquiete c'était pour faire mon script de plateforme de tradding (impossible en event) mais depuis j'ai trouver la solution Shin m'avait aidé, mais merci quand même^^
Revenir en haut Aller en bas
http://kasbakprod.wifeo.com/ http://kasbak.deviantart.com/
Contenu sponsorisé




problème variable ruby RMXP Empty
MessageSujet: Re: problème variable ruby RMXP   problème variable ruby RMXP Empty

Revenir en haut Aller en bas
 
problème variable ruby RMXP
Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» [RMXP] Problème de son
» Problème RMXP script
» [RMVxA] Affiché variable sur écran
» Agir sur une variable dans un script
» [Résolu]Problème scene_title [RMXP]

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Le Palais Créatif :: ~ APPRENTISSAGE ~ :: Entraide :: Scripts et plugins-
Sauter vers: