Night.png);">
Apprendre


Vous êtes
nouveau sur
Oniromancie?

Visite guidée
du site


Découvrir
RPG Maker

RM 95
RM 2000/2003
RM XP
RM VX/VX Ace
RM MV/MZ

Apprendre
RPG Maker

Tutoriels
Guides
Making-of

Dans le
Forum

Section Entraide

Tutos: Checklist de la composition (...) / Sorties: Dread Mac Farlane - episode 8 / Sorties: Dread Mac Farlane - episode 7 / Jeux: Ce qui vit Dessous / News: Quoi de neuf sur Oniromancie (...) / Chat

Bienvenue
visiteur !




publicité RPG Maker!

Statistiques

Liste des
membres


Contact

Mentions légales

409 connectés actuellement

29380362 visiteurs
depuis l'ouverture

9729 visiteurs
aujourd'hui



Barre de séparation

Partenaires

Indiexpo

Akademiya RPG Maker

Blog Alioune Fall

Fairy Tail Constellations

Lumen

Lunae - le bazar d'Emz0

RPG Maker VX

Planète Glutko

Tous nos partenaires

Devenir
partenaire



Scene_Credits

Permet d'afficher une liste déroulante (par exemple des crédits).

Script pour RPG Maker VX
Ecrit par Inconnu, MiDas Mike (Emily_Konichi) & Mac Malone
Publié par Monos (lui envoyer un message privé)
Signaler un script cassé

❤ 0

Auteur : Inconnu, MiDas Mike alias Emily_Konichi (modifications) & Mac Malone (portage)
Logiciel : RPG Maker VX
Nombre de scripts : 1
Source : inconnue

Installation
Placez ce script au dessus du script Main.
Placer une image dans le dossier picture qui aura pour nom "001-title01". Cela sera l'image de fond où va défiler le texte.

Utilisation
Pour appeler le script Page 3 Script.(Call Script ou appelle de script suivant les traduction)
Placez ce morceau de code dans cette option.

Portion de code : Tout sélectionner

1
$scene = Scene_Credits.new



Bien sur il faut placer dans le script le texte adéquat.

Compatibilité
Ce script peut nécessiter le script de compatibilité XP vers VX.

Portion de code : Tout sélectionner

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
#Font
CREDITS_FONT = "Times New Roman"
CREDITS_SIZE = 24
CREDITS_OUTLINE = Color.new(0,0,127, 255)
CREDITS_SHADOW = Color.new(0,0,0, 100)
CREDITS_FILL = Color.new(255,255,255, 255)
 
#==============================================================================
# ¦ Scene_Credits
#------------------------------------------------------------------------------
# This script has been edited from the original RPG Maker XP version.
#------------------------------------------------------------------------------
# It now uses pictures from the pictures folder instead of titles from the
# titles folder.
#------------------------------------------------------------------------------
# This script might need the RMXP to RMVX Compatibility Patch available at RPG
# Maker.net
#------------------------------------------------------------------------------
# Edited by Mac Malone (Dr.?)
# XP Version: Oringinal Author unknow, but edidted by MiDas Mike (alias Emily_Konichi) so it doesn't
# play over the Title, but runs by calling the following:
# $scene = Scene_Credits.new
#==============================================================================
 
class Scene_Credits
 
# This next piece of code is the credits.
#Start Editing
CREDIT=<<_END_
 
Untitled Project
 
Director
---------------
 
 
Scripts
---------------
 
 
Graphics
---------------
 
 
Music and sound
---------------
 
 
Mapping
---------------
 
 
Storyline
---------------
 
 
Beta Testers
---------------
 
 
Special Thanks
---------------
 
 
---------------
 
 
 
_END_
#Stop Editing
def main
 
#-------------------------------
# Animated Background Setup
#-------------------------------
@sprite = Sprite.new
#@sprite.bitmap = Cache.picture($data_system.title_name)
@backgroundList = ["001-Title01"] #Edit this to the picture(s) you wish to show in the background. They do repeat.
@backgroundGameFrameCount = 0
# Number of game frames per background frame.
@backgroundG_BFrameCount = 3.4
@sprite.bitmap = Cache.picture(@backgroundList[0])
 
#------------------
# Credits Setup
#------------------
 
credit_lines = CREDIT.split(/\n/)
credit_bitmap = Bitmap.new(640,32 * credit_lines.size)
credit_lines.each_index do |i|
line = credit_lines[i]
credit_bitmap.font.name = CREDITS_FONT
credit_bitmap.font.size = CREDITS_SIZE
x = 0
credit_bitmap.font.color = CREDITS_OUTLINE
credit_bitmap.draw_text(0 + 1,i * 32 + 1,640,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 + 1,640,32,line,1)
credit_bitmap.draw_text(0 + 1,i * 32 - 1,640,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 - 1,640,32,line,1)
credit_bitmap.font.color = CREDITS_SHADOW
credit_bitmap.draw_text(0,i * 32 + 8,640,32,line,1)
credit_bitmap.font.color = CREDITS_FILL
credit_bitmap.draw_text(0,i * 32,640,32,line,1)
end
@credit_sprite = Sprite.new(Viewport.new(0,50,640,380))
@credit_sprite.bitmap = credit_bitmap
@credit_sprite.z = 9998
@credit_sprite.oy = -430
@frame_index = 0
@last_flag = false
 
#--------
# Setup
#--------
 
# ME?BGS ??????
Audio.me_stop
Audio.bgs_stop
Audio.se_stop
# ?????????
Graphics.transition
# ??????
loop do
# ????????
Graphics.update
# ???????
Input.update
# ??????
update
# ????????????????
if $scene != self
break
end
end
# ?????????
Graphics.freeze
@sprite.dispose
@credit_sprite.dispose
end
 
#Checks if credits bitmap has reached it's ending point
def last?
return (@frame_index >= @credit_sprite.bitmap.height + 480)
end
def last
if not @last_flag
@last_flag = true
@last_count = 0
else
@last_count += 1
end
if @last_count >= 300
$scene = Scene_Map.new
end
end
 
#Check if the credits should be cancelled
def cancel?
if Input.trigger?(Input::C)
$scene = Scene_Map.new
return true
end
return false
end
 
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
def update
@backgroundGameFrameCount = @backgroundGameFrameCount + 1
if @backgroundGameFrameCount >= @backgroundG_BFrameCount
@backgroundGameFrameCount = 0
# Add current background frame to the end
@backgroundList = @backgroundList << @backgroundList[0]
# and drop it from the first position
@backgroundList.delete_at(0)
@sprite.bitmap = Cache.picture(@backgroundList[0])
end
return if cancel?
last if last?
@credit_sprite.oy += 1
end
end




Mis à jour le 22 novembre 2020.






legarskiapasdepseudo (visiteur non enregistré) - posté le 29/07/2008 à 00:41:40

❤ 0

quoi!On ne sais mettre la musique que l'ont veut sa craiiin:bave


erwdu??? - posté le 15/08/2008 à 20:24:41 (137 messages postés)

❤ 0

Au pire tu change le fichier musique que tu enten :D

C'est vrai que c'est bête pour la musique Jé chercher dans le script si il y a une ligne ou on peut mettre de la musique mais jé rien trouver si une commende pour l'arréter


the big fire - posté le 07/09/2008 à 18:36:28 (21 messages postés)

❤ 0

l'espoir fait vivre! :)

Le script est niquel! :sourit
Pour répondre à mecapika, il suffit de changer la musique que tu entend justa avant d'appeller le script comme dit erwdu???.

Un jour je finirais un projet!


Manji - posté le 14/09/2008 à 19:01:19 (22 messages postés)

❤ 0

@Inconnu

sur ta map vide qui va te servir de zone pour le crédit tu met un événement en processus parallèle et à la page 3 tu as "insérer un script". Là tu mets la portion de code qui t'interpelle et c'est bon.

Pour l'image en créant un dossier pictures et en mettant une images au nom de 001-title01 cela fonctionne.

Par contre pour moi le crédit se répète indéfiniment, j'ai du encore gaffer.

EDIT: Quelle est la ligne qui modifie la vitesse? J'ai trouvé pour la taille mais pas la rapidité de défilement.


metathunner - posté le 01/10/2008 à 03:14:36 (5 messages postés)

❤ 0

Peut on mettre des images qui apparaissent et disparraissent durant les crédits?:susp


Monos - posté le 01/10/2008 à 09:21:10 (57322 messages postés)

❤ 0

Vive le homebrew

ça doit être faisable, sur même. Mais faut retoucher au code du script.
et ça je ne sais pas.

Signer du nez ?


PATRIK27 - posté le 03/11/2008 à 09:21:39 (32 messages postés)

❤ 0

bjr

Citation:

Pour appeler le script Page 3 Script.(Call Script ou appelle de script suivant les traduction)
Placez ce morceau de code dans cette option.


je n'ai pas compris non plus ou ca se passe ca????


oups, désolé, je viens de relire et la réponse a été donnée:moinsun

super ce newlook du forum !!;)

PATRIK


lios (visiteur non enregistré) - posté le 15/11/2008 à 07:12:13

❤ 0

yo les gens. merci pour ce script. dois-je envoyer la demo du jeu? si oui, ou ?
p-s: mon jeu est en anglais car je l'ai fait avec une copine japonaise qui s'avere etre une correspondante qui ne parle pas un traitre mot de français ^^'



Monos - posté le 15/11/2008 à 10:55:41 (57322 messages postés)

❤ 0

Vive le homebrew

J'arrive pas a lire c'est normal docteur?

Signer du nez ?


PATRIK27 - posté le 10/12/2008 à 11:04:03 (32 messages postés)

❤ 0

bjr
marche nickel
comment déplace t-on le texte plus a gauche....??

merci

PATRIK


Lakitorai - posté le 02/05/2009 à 13:42:22 (2525 messages postés)

❤ 0

Le makeur, ex-makeuse, qui passe de temps en temps sur le forum quand iels n'a rien d'autre à faire

Alors moi j'ai l'erreur " le fichier Graphics/Pictures/001-Title01 n'as pas été trouvé" ; et j'ai pourtant tout bien mis comme il fallait...

Oukellélerreur docteur :D ?

"C'est ainsi que Vivec, qui avait été touché par la compassion d'Ayem, décida d'enseigner la magie du ventre à Molag Bal. Tous deux prirent leur lance, qu'ils comparèrent. A l'aide de ses dents, Vivec grava de nouveaux mots dans celle du Roi du Viol, afin qu'elle ne soit pas uniquement source de ruine pour les non initiés." - 36 Sermons de Vivec -14e Sermon-


Ethernal - posté le 12/05/2009 à 12:37:51 (12 messages postés)

❤ 0

Santoryu...

Ché pas si on l'a demandé ( la flemme de lire tout les commentaires '-_- ) mais comment on fait pour changer la couleur des écritures ?

Magikea, mon premier projet...pas encore fini


natinusala - posté le 23/05/2009 à 16:07:18 (586 messages postés)

❤ 0

Mon avatar est une patate trysophille aux poils de moustache musclés.

Déplacer le texte à gauche et c'est parfait !

Attends je vais chercher un stylo


lerodeurdejadis - posté le 06/07/2009 à 12:15:53 (10 messages postés)

❤ 0

moi quand je le fait sa me marque:

????? '$scene= Scene_Credits.new'? 82??? NameError????????
uninitialized constant Scene_Credits: :Cache

Sa veut dire quoi??
merci^^

PS: Ou se trouve la portion "Cache" du script plz^^

Le Troisième Monde RPG en dévellopement créé uniquement avec la version basique de RPG Maker! Contacter moi pour + d'info!


valentinx69 - posté le 10/07/2009 à 13:43:31 (37 messages postés)

❤ 0

VSARASMCorp will win

Excellent, le script march extrêmement bien, tu auras une place dans mes crédits Tata Monos. Merci à plus.

When you begin 3D, it's for ever ;)


R-adr-P-ien-G - posté le 13/07/2009 à 22:24:04 (60 messages postés)

❤ 0

Jeune maker

Je vais tester ça ;)

J'ai une signature moi ?


lepsy - posté le 21/07/2009 à 17:04:57 (12 messages postés)

❤ 0

Eternal student

Salut,

Très bon script avec RPG VX!

Bravo!


reg630 - posté le 23/08/2009 à 17:01:18 (2 messages postés)

❤ 0

Pour déplacer le texte à gauche, il faut faire un changement à cette ligne:

Citation:

@credit_sprite = Sprite.new(Viewport.new(0,50,640,380))

Il faut changer le premier nombre. Moi j'ai mis -45 à la place du 0. Ca donne ça

Citation:

@credit_sprite = Sprite.new(Viewport.new(-45,-50,460,380))

Mais selon les besoins, on peut mettre autre chose.

En espérant avoir été utile;)

PS: Quelqu'un sait comment changer la vitesse??


watcha - posté le 23/09/2009 à 15:29:58 (15 messages postés)

❤ 0

on le place où ? ><


Tata Monos - posté le 23/09/2009 à 18:54:32 (28 messages postés)

❤ 0

Compte Non utilisé

DTC
=>[]

BOn sérieux, comme tous les scripts.
Au dessus du script nommé Main.


timtrack - posté le 24/12/2009 à 16:26:56 (653 messages postés)

❤ 0

Plop

Super script, y a plein de gens qui auront une place dans le mien !

Projet actuel


Certere - posté le 30/12/2009 à 17:43:34 (105 messages postés)

❤ 0

Très pratique merci ! :sonic:sonic


Death The Kid - posté le 14/03/2010 à 15:10:07 (12 messages postés)

❤ 0

Je suis gelé

Dites, si on met 002-Title02, ca mettra l'image après la une ?

Entre le dessin, le making, la musique et le collège, j'ai plus de temps libre !


Hell Dragon - posté le 25/03/2010 à 13:23:09 (121 messages postés)

❤ 0

Bon Script.

J'aimerais pouvoir faire un lien dans mon menu de départ,
Au début, quand on commence, comme dans quest legend.
J'aimeriais qu'il y ai :

-Nouvelle partie (c'est bon)
-Continuer (c'est bon)
-Crédit (c'est ça que je voudrait mettre)
-Quitter (c'est bon)

(script incompatible avec le "running script")


Final-Maker - posté le 17/04/2010 à 14:16:00 (210 messages postés)

❤ 0

Avatar de Lost Planet 2 trop la classe ^^

Il faut modifier le script scene_title et ajouter when 3 "Crédit" et mettre quitter en when 4 ;)

Projet en cours : Final Fantasy XV. Poster des messages c'est bien, flooder, c'est mieux.


samu10400 - posté le 16/07/2010 à 14:50:39 (452 messages postés)

❤ 0

Manque cruel d'inspiration.

J'aimerais mettre de la musique dans les crédits. Comment on fait?
EDIT: Jouer une musique avant de les lancer.

BORNTHISWAY


jeffdu24 - posté le 17/07/2010 à 12:28:16 (1 messages postés)

❤ 0

Bonjour j'ai un gros problem car j'ai essaye de faire ska dit Final-Maker
"Il faut modifier le script scene_title et ajouter when 3 "Crédit" et mettre quitter en when 4"
Mais quand je demmare mon jeu que j'ai crée sa affiche
"Script 'Scene_Title' line 261. SyntaxErrore Occured"
Alors eske que quelqun pourai me copier collé son script "scene_title" SVP

[bgcolor=blue]


ArthurRPGMakerVX - posté le 29/10/2010 à 05:47:46 (47 messages postés)

❤ 0

T'es comme un crocodile: 3/4 de gueule et 1/4 de queue!

Alors bonjour à tous j'ai quelques petites questions bêtes:

- les crédits apparaissent-ils sur l'écran titre ou faut-il aller sur la map concernée?(Résolu)

- pour changer la musique des crédits comment doit-on faire? Car la changer juste avant d'ap
peler le script cela ne modifierait-il pas la musique EN JEU? (Résolu)


Merci,

Arthur


PS: je suis sur le mac de ma mère donc pour l'instant je peux pas tester!:doute3

RAS pour le moment...


Pitchoumat - posté le 30/11/2010 à 18:02:02 (58 messages postés)

❤ 0

Portion de code : Tout sélectionner

1
2
3
CREDITS_FONT = "Times New Roman"
 
CREDITS_SIZE = 24



J'imagine que si on modifie sa on peut changer la taille et la police du texte, non ?

[URL=http://rpg-maker-revelation.bb-fr.com/forum][IMG]http://www.web-modules.net/upload/cache/userbar/109/553.gif[/IMG][/URL]


Tata Monos - posté le 30/11/2010 à 18:06:06 (28 messages postés)

❤ 0

Compte Non utilisé

j'imagine que si tu fais un test, tu trouveras ta réponse.


Pitchoumat - posté le 11/12/2010 à 10:58:57 (58 messages postés)

❤ 0

Ouais!
Mais j'ai téster ce script il marche ultra bien et j'ai modifié Cache.
Encore une fois, merci beaucoup, Tata Monos!

[URL=http://rpg-maker-revelation.bb-fr.com/forum][IMG]http://www.web-modules.net/upload/cache/userbar/109/553.gif[/IMG][/URL]


dovicmax - posté le 24/12/2010 à 02:08:05 (5 messages postés)

❤ 0

bon moé too j un p'tit probl avec,
car je veu faire:

MENU

-NOUVELLE PARTIE (ok)
-PARTIE ENREGISTRER (ok)
-(mettre les crédit ici) (j fait ce que -Final-Maker a écrit)
-END

:help pls......
ps: jsuis épais et débutant (un mois que j rmvx)


kilam1110 - posté le 24/12/2010 à 04:18:44 (9159 messages postés)

❤ 0

Osti de caliss toé !

New RPG Maker - Forum traitant du logiciel RPG Maker tout en français ! | SURVIVE V2.5 - Dégommez du zombie !


dovicmax - posté le 24/12/2010 à 17:37:24 (5 messages postés)

❤ 0

laisser faire j trouver!
merci de ta super réponse kilam1110(sarcastique)
:D


madmanu - posté le 25/02/2011 à 17:55:20 (85 messages postés)

❤ 0

juste ou faut ecrire le texte du crédit ?:help me


jodge65 - posté le 26/03/2011 à 21:59:45 (25 messages postés)

❤ 0

dovicmax, tu ne pourrait pas donner la solution stp je n'arrive pas a mettre le bouton crédit dans le menu du début...help'


Arko-Zey - posté le 17/09/2011 à 17:57:55 (160 messages postés)

❤ 0

[SERIEUSEMENT]A mort le collége!!! Vive le making!!!!!!

moi ça marche pa...:'( :help

Je suis le ninja ancestral et je butte tous ceux qui détestent RPG MAKER VX!!!! | Inscrivez-vous sur http://arcadia-universe.xooit.fr/


Zefyrix - posté le 30/09/2011 à 18:17:50 (101 messages postés)

❤ 0

Maker un jour, maker toujours !

Ce script est adapté pour xp

Citation:

(0,50,640,380)


désolé mais pour vx c'est

Citation:

(0,50,544,366)


Si vous voulez j'ai modifié ce script qui plante de partout, mais par contre j'ai enlevé la fonction changer l'arrière plan.

Spoiler (cliquez pour afficher)



On peut tromper une personne mille fois, mais on ne peut pas tromper mille personnes mille fois.


quent1500 - posté le 24/12/2011 à 11:42:18 (29 messages postés)

❤ 0

Bonjour se script eet parfait mais il y un blém:grossourire
voila l'image du probléme
image
merci de me répondre et en suite j'ai réussi a intégrer le crédits au menu principal
Il faut remplacer le scripts Scene_title par se script

Portion de code : Tout sélectionner

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
#==============================================================================
# ** Scene_Title
#Modifier par Quent1500
#------------------------------------------------------------------------------
#  This class performs the title screen processing.
#==============================================================================
 
class Scene_Title < Scene_Base
  #--------------------------------------------------------------------------
  # * Main Processing
  #--------------------------------------------------------------------------
  def main
    if $BTEST                         # If battle test
      battle_test                     # Start battle test
    else                              # If normal play
      super                           # Usual main processing
    end
  end
  #--------------------------------------------------------------------------
  # * Start processing
  #--------------------------------------------------------------------------
  def start
    super
    load_database                     # Load database
    create_game_objects               # Create game objects
    check_continue                    # Determine if continue is enabled
    create_title_graphic              # Create title graphic
    create_command_window             # Create command window
    play_title_music                  # Play title screen music
  end
  #--------------------------------------------------------------------------
  # * Execute Transition
  #--------------------------------------------------------------------------
  def perform_transition
    Graphics.transition(20)
  end
  #--------------------------------------------------------------------------
  # * Post-Start Processing
  #--------------------------------------------------------------------------
  def post_start
    super
    open_command_window
  end
  #--------------------------------------------------------------------------
  # * Pre-termination Processing
  #--------------------------------------------------------------------------
  def pre_terminate
    super
    close_command_window
  end
  #--------------------------------------------------------------------------
  # * Termination Processing
  #--------------------------------------------------------------------------
  def terminate
    super
    dispose_command_window
    snapshot_for_background
    dispose_title_graphic
  end
  #--------------------------------------------------------------------------
  # * Frame Update
  #--------------------------------------------------------------------------
  def update
    super
    @command_window.update
    if Input.trigger?(Input::C)
      case @command_window.index
      when 0    #New game
        command_new_game
      when 1    # Continue
        command_continue
      when 2
        $scene = Scene_Credits.new
      when 3    # Shutdown
        command_shutdown
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Load Database
  #--------------------------------------------------------------------------
  def load_database
    $data_actors        = load_data("Data/Actors.rvdata")
    $data_classes       = load_data("Data/Classes.rvdata")
    $data_skills        = load_data("Data/Skills.rvdata")
    $data_items         = load_data("Data/Items.rvdata")
    $data_weapons       = load_data("Data/Weapons.rvdata")
    $data_armors        = load_data("Data/Armors.rvdata")
    $data_enemies       = load_data("Data/Enemies.rvdata")
    $data_troops        = load_data("Data/Troops.rvdata")
    $data_states        = load_data("Data/States.rvdata")
    $data_animations    = load_data("Data/Animations.rvdata")
    $data_common_events = load_data("Data/CommonEvents.rvdata")
    $data_system        = load_data("Data/System.rvdata")
    $data_areas         = load_data("Data/Areas.rvdata")
  end
  #--------------------------------------------------------------------------
  # * Load Battle Test Database
  #--------------------------------------------------------------------------
  def load_bt_database
    $data_actors        = load_data("Data/BT_Actors.rvdata")
    $data_classes       = load_data("Data/BT_Classes.rvdata")
    $data_skills        = load_data("Data/BT_Skills.rvdata")
    $data_items         = load_data("Data/BT_Items.rvdata")
    $data_weapons       = load_data("Data/BT_Weapons.rvdata")
    $data_armors        = load_data("Data/BT_Armors.rvdata")
    $data_enemies       = load_data("Data/BT_Enemies.rvdata")
    $data_troops        = load_data("Data/BT_Troops.rvdata")
    $data_states        = load_data("Data/BT_States.rvdata")
    $data_animations    = load_data("Data/BT_Animations.rvdata")
    $data_common_events = load_data("Data/BT_CommonEvents.rvdata")
    $data_system        = load_data("Data/BT_System.rvdata")
  end
  #--------------------------------------------------------------------------
  # * Create Game Objects
  #--------------------------------------------------------------------------
  def create_game_objects
    $game_temp          = Game_Temp.new
    $game_message       = Game_Message.new
    $game_system        = Game_System.new
    $game_switches      = Game_Switches.new
    $game_variables     = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_actors        = Game_Actors.new
    $game_party         = Game_Party.new
    $game_troop         = Game_Troop.new
    $game_map           = Game_Map.new
    $game_player        = Game_Player.new
  end
  #--------------------------------------------------------------------------
  # * Determine if Continue is Enabled
  #--------------------------------------------------------------------------
  def check_continue
    @continue_enabled = (Dir.glob('Save*.rvdata').size > 0)
  end
  #--------------------------------------------------------------------------
  # * Create Title Graphic
  #--------------------------------------------------------------------------
  def create_title_graphic
    @sprite = Sprite.new
    @sprite.bitmap = Cache.system("Title")
  end
  #--------------------------------------------------------------------------
  # * Dispose of Title Graphic
  #--------------------------------------------------------------------------
  def dispose_title_graphic
    @sprite.bitmap.dispose
    @sprite.dispose
  end
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  def create_command_window
    s1 = Vocab::new_game
    s2 = Vocab::continue
    s3 = "Crédits"
    s4 = Vocab::shutdown
    @command_window = Window_Command.new(172, [s1, s2, s3,s4])
    @command_window.x = (544 - @command_window.width) / 2
    @command_window.y = 288
    if @continue_enabled                    # If continue is enabled
      @command_window.index = 1             # Move cursor over command
    else                                    # If disabled
      @command_window.draw_item(1, false)   # Make command semi-transparent
    end
    @command_window.openness = 0
    @command_window.open
  end
  #--------------------------------------------------------------------------
  # * Dispose of Command Window
  #--------------------------------------------------------------------------
  def dispose_command_window
    @command_window.dispose
  end
  #--------------------------------------------------------------------------
  # * Open Command Window
  #--------------------------------------------------------------------------
  def open_command_window
    @command_window.open
    begin
      @command_window.update
      Graphics.update
    end until @command_window.openness == 255
  end
  #--------------------------------------------------------------------------
  # * Close Command Window
  #--------------------------------------------------------------------------
  def close_command_window
    @command_window.close
    begin
      @command_window.update
      Graphics.update
    end until @command_window.openness == 0
  end
  #--------------------------------------------------------------------------
  # * Play Title Screen Music
  #--------------------------------------------------------------------------
  def play_title_music
    $data_system.title_bgm.play
    RPG::BGS.stop
    RPG::ME.stop
  end
  #--------------------------------------------------------------------------
  # * Check Player Start Location Existence
  #--------------------------------------------------------------------------
  def confirm_player_location
    if $data_system.start_map_id == 0
      print "Player start location not set."
      exit
    end
  end
  #--------------------------------------------------------------------------
  # * Command: New Game
  #--------------------------------------------------------------------------
  def command_new_game
    confirm_player_location
    Sound.play_decision
    $game_party.setup_starting_members            # Initial party
    $game_map.setup($data_system.start_map_id)    # Initial map position
    $game_player.moveto($data_system.start_x, $data_system.start_y)
    $game_player.refresh
    $scene = Scene_Map.new
    RPG::BGM.fade(1500)
    close_command_window
    Graphics.fadeout(60)
    Graphics.wait(40)
    Graphics.frame_count = 0
    RPG::BGM.stop
    $game_map.autoplay
  end
  #--------------------------------------------------------------------------
  # * Command: Continue
  #--------------------------------------------------------------------------
  def command_continue
    if @continue_enabled
      Sound.play_decision
     $scene   =   Scene_Load.new
    else
      Sound.play_buzzer
    end
  end
  #--------------------------------------------------------------------------
  # * Command: Shutdown
  #--------------------------------------------------------------------------
  def command_shutdown
    Sound.play_decision
    RPG::BGM.fade(800)
    RPG::BGS.fade(800)
    RPG::ME.fade(800)
    $scene = nil
  end
  #--------------------------------------------------------------------------
  # * Battle Test
  #--------------------------------------------------------------------------
  def battle_test
    load_bt_database                  # Load battle test database
    create_game_objects               # Create game objects
    Graphics.frame_count = 0          # Initialize play time
    $game_party.setup_battle_test_members
    $game_troop.setup($data_system.test_troop_id)
    $game_troop.can_escape = true
    $game_system.battle_bgm.play
    snapshot_for_background
    $scene = Scene_Battle.new
  end
end
 


Edit : il faut aussi remplacer a la ligne 320

Citation:

$scene = Scene_Map.new

par

Citation:

$scene = Scene_Title.new

il faut aussi faire le même sur la ligne 306


Tata Monos - posté le 24/12/2011 à 13:33:08 (28 messages postés)

❤ 0

Compte Non utilisé

j'ai déja utilité ce script, et perso j'ai jamais eu de problème. (A moins que je confond avec un autre script car j'avoue que je n'ai pas le souvenir d'un fond)

Ceci dit, VX est caca, passe à ace !


quent1500 - posté le 24/12/2011 à 15:02:46 (29 messages postés)

❤ 0

Ouai mais ces que la version essai y pas de craker en anglais


Alzaikmerra - posté le 02/03/2012 à 03:07:56 (32 messages postés)

❤ 0

J"y comprends rien à ce script. J'ai beau suivre les instructions, tout ce qu'il fait c'est se bloquer et rien afficher...:feu

athx


charlescol - posté le 28/03/2012 à 18:51:03 (6 messages postés)

❤ 0

ce script march yper bien merci :rit2[color=darkred][/color]


ScriptX - posté le 22/12/2012 à 17:41:47 (11 messages postés)

❤ 0

Tout est prévu d'avance, on ne peut échappe pas au destin.

comprend rien:'( besoin d'explication plus clair merci:doute6.

Le temps est le plus grand ennemis visible de l’humanité.


aranna - posté le 09/04/2013 à 21:55:18 (238 messages postés)

❤ 0

De retour !

j'ai voulu utiliser se scripte et je me retrouvais avec du texte bizarre,

pas au bon endroit et couper entre autre donc je vous poste ici le script refait et fonctionnel (trouver sur le net mais l'auteur de la correction ne s'y est pas mis je crois):

Spoiler (cliquez pour afficher)




Citation:

@backgroundList = ["001-Title01"] #Edit this to the picture(s) you wish to show in the background. They do repeat.



vous pouvez changer le nom de l'arrière plan et les faire défiler ici.

sinon le principe est le meme vous ajouter la commande insérer un script dans votre evennement avec cette commande

$scene = Scene_Credits.new

pour ma part j'ai envoyé le personnage sur une map vide pour jouer la bonne musique et lancer un event automatique avec cette commande et hop c'est réglé.

le script une fois fini le jeu reviens automatiquement a l'écran titre.


désolé de remonter un vieux post de script mais je pense que sa pourrait servir a plusieurs
:salut

ps : bon j'ai tout essayer mais sa veux pas s'afficher en spoiler :goutte si un membre du staff passe par là :rit2

mon projet arreté sur ace mais en cours de réécriture sur mv : http://www.rpg-maker.fr/index.php?page=forum&id=21991 / De retour dans les sphères du making !


Skatino - posté le 22/07/2013 à 18:39:22 (53 messages postés)

❤ 0

Vive rpg-maker.fr !

Portion de code : Tout sélectionner

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
#Texte
CREDITS_FONT = "Times New Roman"# Mettre à la place de "Times new Roman" le nom de la police d'écriture.
CREDITS_SIZE = 24#Taille du texte
CREDITS_OUTLINE = Color.new(0,0,127, 255)#Couleur ligne
CREDITS_SHADOW = Color.new(0,0,0, 100)#Couleur de l'ombre ?
CREDITS_FILL = Color.new(255,255,255, 255)#Couleur des files ?
 
#==============================================================================
# ¦ Scene_Credits
#------------------------------------------------------------------------------
# Ce script est une modification d'un script pour RPG maker XP
#------------------------------------------------------------------------------
# It now uses pictures from the pictures folder instead of titles from the
# titles folder.
#------------------------------------------------------------------------------
# This script might need the RMXP to RMVX Compatibility Patch avialble at RPG
# Maker.net
#------------------------------------------------------------------------------
# Edité par Mac Malone (Dr.?)
# XP Version: Oringinal Author unknow, but edidted by MiDas Mike so it doesn't
# play over the Title, but runs by calling the following:
# $scene = Scene_Credits.new
#==============================================================================
 
class Scene_Credits
 
# This next piece of code is the credits.
#Start Editing
CREDIT=<<_END_
 
NOM DU PROJET
 
Directeur
---------------
 
 
Scripts
---------------
 
 
Graphistes
---------------
 
 
Musiques et effets sonores
---------------
 
 
Mapping
---------------
 
 
Scénario
---------------
 
 
Testeur de la version Beta
---------------
 
 
Remerciements spéciaux
---------------
 
 
---------------
 
 
 
_END_
#Stop Editing
def main
 
#-------------------------------
# Animated Background Setup
#-------------------------------
@sprite = Sprite.new
#@sprite.bitmap = Cache.picture($data_system.title_name)
@backgroundList = ["001-Title01"] #Edit this to the picture(s) you wish to show in the background. They do repeat.
@backgroundGameFrameCount = 0
# Number of game frames per background frame.
@backgroundG_BFrameCount = 3.4
@sprite.bitmap = Cache.picture(@backgroundList[0])
 
#------------------
# Credits Setup
#------------------
 
credit_lines = CREDIT.split(/§/)
credit_bitmap = Bitmap.new(640,32 * credit_lines.size)
credit_lines.each_index do |i|
line = credit_lines[i]
credit_bitmap.font.name = CREDITS_FONT
credit_bitmap.font.size = CREDITS_SIZE
x = 0
credit_bitmap.font.color = CREDITS_OUTLINE
credit_bitmap.draw_text(0 + 1,i * 32 + 1,640,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 + 1,640,32,line,1)
credit_bitmap.draw_text(0 + 1,i * 32 - 1,640,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 - 1,640,32,line,1)
credit_bitmap.font.color = CREDITS_SHADOW
credit_bitmap.draw_text(0,i * 32 + 8,640,32,line,1)
credit_bitmap.font.color = CREDITS_FILL
credit_bitmap.draw_text(0,i * 32,640,32,line,1)
end
@credit_sprite = Sprite.new(Viewport.new(0,50,640,380))
@credit_sprite.bitmap = credit_bitmap
@credit_sprite.z = 9998
@credit_sprite.oy = -430
@frame_index = 0
@last_flag = false
 
#--------
# Setup
#--------
 
# ME?BGS ??????
Audio.me_stop
Audio.bgs_stop
Audio.se_stop
# ?????????
Graphics.transition
# ??????
loop do
# ????????
Graphics.update
# ???????
Input.update
# ??????
update
# ????????????????
if $scene != self
break
end
end
# ?????????
Graphics.freeze
@sprite.dispose
@credit_sprite.dispose
end
 
#Checks if credits bitmap has reached it's ending point
def last?
return (@frame_index >= @credit_sprite.bitmap.height + 480)
end
def last
if not @last_flag
@last_flag = true
@last_count = 0
else
@last_count += 1
end
if @last_count >= 300
$scene = Scene_Map.new
end
end
 
#Check if the credits should be cancelled
def cancel?
if Input.trigger?(Input::C)
$scene = Scene_Map.new
return true
end
return false
end
 
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
def update
@backgroundGameFrameCount = @backgroundGameFrameCount + 1
if @backgroundGameFrameCount >= @backgroundG_BFrameCount
@backgroundGameFrameCount = 0
# Add current background frame to the end
@backgroundList = @backgroundList << @backgroundList[0]
# and drop it from the first position
@backgroundList.delete_at(0)
@sprite.bitmap = Cache.picture(@backgroundList[0])
end
return if cancel?
last if last?
@credit_sprite.oy += 1
end
end



Legerement modifié expliqué amélioré et avec de nouvelles fonctions ! :banane ( désolé les spoiler ne marchent plus...) Pour passer des lignes, tapez § a la fin de vos lignes. (Modifiables dans la ligne credit_lines = CREDIT.split(/§/) )


MrKylaragon - posté le 26/06/2014 à 13:26:16 (1 messages postés)

❤ 0

bonjour, j'ai besoin d'un petit coups de main car le script est super mais mon jeu me dit qu'il y a une erreur sur la ligne 1411 du script Game_Interpreter.

Citation:

eval(script)


merci d'avance.


Gari - posté le 22/11/2020 à 13:50:37 (5899 messages postés) - honor

❤ 0

Au cas où ce script n'ait pas pris en compte la dernière modification sous XP, voici la dernière version connue (RPG Maker XP) :

Portion de code : Tout sélectionner

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
CREDITS_FONT = ["Times New Roman"]
CREDITS_SIZE = 26
CREDITS_OUTLINE = Color.new(0,0,127, 255)
CREDITS_SHADOW = Color.new(0,0,0, 100)
CREDITS_FILL = Color.new(255,255,255, 255)
 
#==============================================================================
# ¦ Scene_Credits
#------------------------------------------------------------------------------
# Scrolls the credits you make below. Original Author unknown. Edited by
# MiDas Mike (now known as Emily_Konichi) so it doesn't play over the Title, but runs by calling the following:
# $scene = Scene_Credits.new
# New Edit 3/6/2007 11:14 PM by AvatarMonkeyKirby.
# Ok, what I've done is changed the part of the script that was supposed to make
# the credits automatically end so that way they actually end! Yes, they will
# actually end when the credits are finished! So, that will make the people you
# should give credit to now is: UNKOWN, Emily_Konichi, and AvatarMonkeyKirby.
#                                             -sincerly yours,
#                                               Your Beloved
# Oh yea, and I also added a line of code that fades out the BGM so it fades
# sooner and smoother.
#==============================================================================
 
class Scene_Credits
 
# This next piece of code is the credits.
CREDIT=<<_END_
 
LE TOURMALET Credits!
 
 
 
 
 
 
- SCRIPT´S -
 
- Ccoa - Universal Message System
- Emily_Konichi & AvatarMonkeyKirby - Scene_Credits
____________________________________________________
 
 
 
 
 
 
- TESTING -
 
- Darksplit - Best tester ever
- Maskleto and Saxifrage - Formula´s discussion.
____________________________________________________
 
 
 
 
 
 
- ART & SPRITING -
 
- Tekubi - Art ideas 
- Dwellercoc 
____________________________________________________
 
 
 
 
 
 
- Enterbrain (RPGMaker XP and RTP)
- Chaos Project, RPG Revolution and RMVXP forums
  (Tutorials, ideas, rpgmaker info, etc...)
- Dwellercoc - Idea, Events systems
 
 
_END_
def main
 
#-------------------------------
# Animated Background Setup
#-------------------------------
 
@sprite = Sprite.new
#@sprite.bitmap = RPG::Cache.title($data_system.title_name)
@backgroundList = ["Pic_2"] #Edit this to the title screen(s) you wish to show in the background. They do repeat.
@backgroundGameFrameCount = 0
# Number of game frames per background frame.
@backgroundG_BFrameCount = 3.4
@sprite.bitmap = RPG::Cache.title(@backgroundList[0])
 
#------------------
# Credits txt Setup
#------------------
 
credit_lines = CREDIT.split(/\n/)
credit_bitmap = Bitmap.new(640,32 * credit_lines.size)
credit_lines.each_index do |i|
line = credit_lines[i]
credit_bitmap.font.name = CREDITS_FONT
credit_bitmap.font.size = CREDITS_SIZE
x = 0
credit_bitmap.font.color = CREDITS_OUTLINE
credit_bitmap.draw_text(0 + 1,i * 32 + 1,640,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 + 1,640,32,line,1)
credit_bitmap.draw_text(0 + 1,i * 32 - 1,640,32,line,1)
credit_bitmap.draw_text(0 - 1,i * 32 - 1,640,32,line,1)
credit_bitmap.font.color = CREDITS_SHADOW
credit_bitmap.draw_text(0,i * 32 + 8,640,32,line,1)
credit_bitmap.font.color = CREDITS_FILL
credit_bitmap.draw_text(0,i * 32,640,32,line,1)
end
@credit_sprite = Sprite.new(Viewport.new(0,50,640,380))
@credit_sprite.bitmap = credit_bitmap
@credit_sprite.z = 9998
@credit_sprite.oy = -430 #-430
@frame_index = 0
@last_flag = false
 
#--------
# Setup
#--------
 
#Stops all audio but background music.
Audio.me_stop
Audio.bgs_stop
Audio.se_stop
 
Graphics.transition
 
loop do
 
Graphics.update
Input.update
 
 
update
if $scene != self
break
end
end
Graphics.freeze
@sprite.dispose
@credit_sprite.dispose
end
 
##Checks if credits bitmap has reached it's ending point
def last?
    if @frame_index > (@credit_sprite.bitmap.height + 500)
       $scene = Scene_Map.new
       Audio.bgm_fade(10000) #aprox 10 seconds
      return true
    end
      return false
    end
 
#Check if the credits should be cancelled
def cancel?
    if Input.trigger?(Input::C)
      $scene = Scene_Map.new
      Audio.bgm_stop
      return true
    end
      return false
    end
def update
@backgroundGameFrameCount = @backgroundGameFrameCount + 1
if @backgroundGameFrameCount >= @backgroundG_BFrameCount
@backgroundGameFrameCount = 0
# Add current background frame to the end
@backgroundList = @backgroundList << @backgroundList[0]
# and drop it from the first position
@backgroundList.delete_at(0)
@sprite.bitmap = RPG::Cache.title(@backgroundList[0])
end
return if cancel?
return if last?
@credit_sprite.oy += 1 #this is the speed that the text scrolls. 1 is default
#The fastest I'd recomend is 5, after that it gets hard to read.
@frame_index += 1 #This should fix the non-self-ending credits
end
end



Source : https://forum.chaos-project.com/index.php?topic=6982.0

Suite à de nombreux abus, le post en invités a été désactivé. Veuillez vous inscrire si vous souhaitez participer à la conversation.

Haut de page

Merci de ne pas reproduire le contenu de ce site sans autorisation.
Contacter l'équipe - Mentions légales

Plan du site

Communauté: Accueil | Forum | Chat | Commentaires | News | Flash-news | Screen de la semaine | Sorties | Tests | Gaming-Live | Interviews | Galerie | OST | Blogs | Recherche
Apprendre: Visite guidée | RPG Maker 95 | RPG Maker 2003 | RPG Maker XP | RPG Maker VX | RPG Maker MV | Tutoriels | Guides | Making-of
Télécharger: Programmes | Scripts/Plugins | Ressources graphiques / sonores | Packs de ressources | Midis | Eléments séparés | Sprites
Jeux: Au hasard | Notre sélection | Sélection des membres | Tous les jeux | Jeux complets | Le cimetière | RPG Maker 95 | RPG Maker 2000 | RPG Maker 2003 | RPG Maker XP | RPG Maker VX | RPG Maker VX Ace | RPG Maker MV | Autres | Proposer
Ressources RPG Maker 2000/2003: Chipsets | Charsets | Panoramas | Backdrops | Facesets | Battle anims | Battle charsets | Monstres | Systems | Templates
Ressources RPG Maker XP: Tilesets | Autotiles | Characters | Battlers | Window skins | Icônes | Transitions | Fogs | Templates
Ressources RPG Maker VX: Tilesets | Charsets | Facesets | Systèmes
Ressources RPG Maker MV: Tilesets | Characters | Faces | Systèmes | Title | Battlebacks | Animations | SV/Ennemis
Archives: Palmarès | L'Annuaire | Livre d'or | Le Wiki | Divers