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

Sorties: Star Trek: Glorious Wolf - (...) / Sorties: Dread Mac Farlane - episode 3 / News: Plein d'images cools créées par (...) / Sorties: Star Trek: Glorious Wolf - (...) / Jeux: Final Fantasy 2.0 / Chat

Bienvenue
visiteur !




publicité RPG Maker!

Statistiques

Liste des
membres


Contact

Mentions légales

299 connectés actuellement

29186102 visiteurs
depuis l'ouverture

1153 visiteurs
aujourd'hui



Barre de séparation

Partenaires

Indiexpo

Akademiya RPG Maker

Blog Alioune Fall

Fairy Tail Constellations

Kingdom Ultimate

RPG Maker VX

Guelnika & E-magination

ConsoleFun

Le Temple de Valor

Tous nos partenaires

Devenir
partenaire



Ocarina of Time 1.5

Permet de jouer des mélodies façon Ocarina of Time, qui peuvent avoir ou non un effet dans le jeu.

Script pour RPG Maker VX Ace
Ecrit par MephistoX et MistTribe
Publié par Necromandien (lui envoyer un message privé)
Signaler un script cassé

❤ 0

Auteur : MephistoX
Logiciel : RPG Maker VX ace
Nombre de scripts : 3
Source : https://www.rpgmakercentral.com/topic/12768-ocarina-of-time-script/

Description
Cet ensemble de scripts permet de faire jouer de l'Ocarina (ou autre chose car il est possible de changer les sons et musiques) à votre personnage.

Conditions d'utilisation
- Vous devez créditer les auteurs (MephistoX et MistTribe)
- Vous ne pouvez pas utiliser ce script dans les projets commerciaux

Utilisation
1) L'utilisation des scripts n'est pas difficile à comprendre mais est assez complexe lorsque l'on débute, voici donc un petit projet que je vous met à disposition qui contient les 3 scripts (Dans Materials) ainsi que les ressources nécessaires (RTP inclus) : https://mega.co.nz/#!nF12GCKZ!qJQPlDwDelhJFUbjJdRvGfSQcRkst_5xK-wZNy1i2DQ]https://mega.co.nz/#!nF12GCKZ!qJQPlDwDelhJFUbjJdRvGfSQcRkst_5xK-wZNy1i2DQ
Le script original ayant été perdu, il s'agit ici de la version éditée par MistTribe : Ocarina of Time Dmo (Archive Mediafire)

2) Pour un nouveau projet, les 3 scripts placés dans "Materials" sont obligatoires.
Les ressources pour voir la touche A et les flèches ainsi que la table des mélodies se trouvent dans le répertoire "System".

Les sons des touches se situent dans le répertoire "Audio/SE", les musiques quand à eux sont placés dans "Audio/ME".

Bien entendu, il vous est possible d'assigner d'autres sons que de l'ocarina ou même des signes différents que le bouton A et les flèches, pour cela rendez-vous aux lignes 65 à 69 du script "Instruments".

3) Dans la Base de Donnée je vous ai mis des exemples de ce qu'il est possible de faire, dans "Objets" vous avez à disposition l'objet vous permettant d’exécuter les mélodies (Ici un Ocarina) ainsi qu'un livre qui répertorie les sons jouables.

Chaque son est assigné à un événement commun, dans le script "Instruments", ligne 80 à 138 vous avez pour chaque mélodie de notée : ":common_event => (Chiffre)}".
Le chiffre correspond au numéro de l’événement commun situé dans la Base de Donnée, c'est à partir de ça que vous choisissez ce qu'il se passe lorsque votre personnage joue une mélodie.

Voilà, je vous ai expliqué en gros les fonctions possible, le reste n'est pas compliqué à comprendre, il y'a quasiment tout de fait et d'expliqué, enjoy !

Blur Fix

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
#==============================================================================
# ** Blur Fix 
#==============================================================================
 
#==============================================================================
# ** module Scene_Manager
#==============================================================================
 
module SceneManager
  #--------------------------------------------------------------------------
  # * Snapshot_for_Background
  #--------------------------------------------------------------------------
  def self.snapshot_for_background
    @background_bitmap.dispose if @background_bitmap
    @background_bitmap = Graphics.snap_to_bitmap
  end
end
 
 
#==============================================================================
# ** Scene_Menu Base
#==============================================================================
 
class Scene_MenuBase < Scene_Base
  #--------------------------------------------------------------------------
  # * Create BackGround
  #--------------------------------------------------------------------------
  def create_background
    @background_sprite = Sprite.new
    @background_sprite.bitmap = SceneManager.background_bitmap
    @background_sprite.bitmap.blur
    @background_sprite.color.set(16, 16, 16, 128)
  end
end



Meph's Playable Instrument (A.K.A Ocarina 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
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
#==============================================================================
# ** Meph's Playable Instrument (A.K.A Ocarina Script)
#------------------------------------------------------------------------------
# MephistoX (Meph's Labs)
# Version 1.5
# 27/02/2012
# RPGMaker VXAce
#------------------------------------------------------------------------------
# * Version History :
#
#   Version 1 ---------------------------------------------------- (26/02/2012)
#     - First Released Version
#     Version 1.1 -------------------------------------------------(26/02/2012)
#     - Added Common Event Trigger (Thanks Patrick, you're clever)
#     Version 1.2 -------------------------------------------------(26/02/2012)
#     - Simplified System, removed switch and teleport.
#     Version 1.5 -------------------------------------------------(27/02/2012)
#     - Added Tetragram Style and Song List, little fix on Tetratram Y.pos
#------------------------------------------------------------------------------
# * Description :
#
#   As no need for a big introduction this instrument system allows you to 
#   create an instrument and play it, like the ocarina system in the Zelda's
#   Ocarina of Time or whatever that includes an ocarina.
#   
#   When you play a correct song, a common event will be activated.
#------------------------------------------------------------------------------
# * Instructions :
#
#   Place The Script in the Materiales Section of your Script List
#------------------------------------------------------------------------------
# * Syntax :
# 
#   Refer to the module to see how to configure every aspect of the system.
#   also use:
#
#   - $game_party.get_song(song_id) => Learn a song and you can activate it.
# 
#   This code allow you to learn a song, otherwise even if you play the correct
#   notes nothing will happen.
#------------------------------------------------------------------------------
# * Notes :
#  
#   - Any other Thing, see the demo to see how to configure.
#==============================================================================
 
#==============================================================================
# ** Game_Instrument
#==============================================================================
 
module Game_Instrument
  #--------------------------------------------------------------------------
  # * KeyNotes : The Input button and the assigned note
  #     - Keynotes = {Button => Note, ...} both as symbols
  #--------------------------------------------------------------------------
  KeyNotes = {:UP => :A, :DOWN => :B, :LEFT => :C, :RIGHT => , :X => :E}
  #--------------------------------------------------------------------------
  # * Notes : Parameters for the different playable Notes
  #     Notes = {NoteSymbol => [SE, Icon, index]}
  #       - Note Symbol => The Note Symbol defined at KeyNotes
  #       - SE => Special Effect when playing a note
  #       - Icon => Icon of the note to be shown at Tetragram
  #       - Index => Index of the Note in the Tetragram (wich line to put it)
  #--------------------------------------------------------------------------
  Notes = {:A => ['Ocarina-Key-Up', 529, 0],
           :B => ['Ocarina-Key-Down', 531, 3],
           :C => ['Ocarina-Key-Left', 532, 1],
            => ['Ocarina-Key-Right', 530, 2],
           :E => ['Ocarina-Key-A', 528, 3]           }
  #--------------------------------------------------------------------------
  # * Songs : The Playable Songs and their configuration
  #     Songs = {id => {:name => '', :notes => [], :common_event => id}
  #       - id    => ID of the Song (don't repeat)
  #       - name  => Name of The song
  #       - icon  => Icon of the song (for Songlist)
  #       - notes => List of Notes that create the Song
  #       - common_event => Activate a common event
  #--------------------------------------------------------------------------
  Songs = {}
  Songs[:saraissong] = {:name  => 'Sairias Song',
                      :icon  => 344,
                      :notes => [:B, , :C, :B, , :C],
                      :common_event => 5}
  
  Songs[:zeldaslullaby] = {:name  => 'Zeldas Lullaby',
                      :icon  => 344,
                      :notes => [:C, :A, , :C, :A, ],
                      :common_event => 6}
                
  Songs[:sunssong] = {:name  => 'Suns Song',
                    :icon  => 248,
                    :notes => [, :B, :A, , :B, :A],
                    :common_event => 7}
                    
  Songs[:songofstorms] = {:name => 'Song of Storms',
                   :icon => 328,
                   :notes => [:E, :B, :A, :E, :B, :A],
                   :common_event => 8}
                   
  Songs[:songoftime] = {:name => 'Song of Time',
                   :icon => 328,
                   :notes => [, :E, :B, , :E, :B],
                   :common_event => 9}
                   
  Songs[:eponassong] = {:name => 'Eponas Song',
                   :icon => 328,
                   :notes => [:A, :C, , :A, :C, ],
                   :common_event => 10} 
                   
  Songs[:minuetofforest] = {:name  => 'Minuet of Forest',
                      :icon  => 344,
                      :notes => [:E, :A, :C, , :C, ],
                      :common_event => 11}
  
  Songs[:bolerooffire] = {:name  => 'Bolero of Fire',
                      :icon  => 344,
                      :notes => [:B, :E, :B, :E, , :B, , :B],
                      :common_event => 12}
                
  Songs[:serenadeofwater] = {:name  => 'Serenade of Water',
                    :icon  => 248,
                    :notes => [:E, :B, , , :C],
                    :common_event => 13}
                    
  Songs[:nocturneofshadow] = {:name => 'Nocturne of Shadow',
                   :icon => 328,
                   :notes => [:C, , , :E, :C, , :B],
                   :common_event => 14}
                   
  Songs[:requiemofspirit] = {:name => 'Requiem of Spirit',
                   :icon => 328,
                   :notes => [:E, :B, :E, , :B, :E],
                   :common_event => 15}
                   
  Songs[:songofhealing] = {:name => 'Song of Healing',
                   :icon => 328,
                   :notes => [:C, , :B, :C, , :B],
                   :common_event => 16}
  #--------------------------------------------------------------------------
  # * MaxNotes : The Number of Max Notes in the Tetragram
  #     - Consider 10 as the Maximum, according to the width of the tetragram
  #--------------------------------------------------------------------------
  MaxNotes = 8
  #--------------------------------------------------------------------------
  # * WaitNote : The frames to wait before play another note
  #--------------------------------------------------------------------------
  WaitNote = 15
  #--------------------------------------------------------------------------
  # * Success SE : SE that will play when play a correct song
  #--------------------------------------------------------------------------
  SuccessSE = 'Ocarina-SongisCorrect'
  #--------------------------------------------------------------------------
  # * WindowStyle : Style of the Tetragram
  #   0 => Classic Style | 1 => Window Style
  #--------------------------------------------------------------------------
  WindowStyle = 0
end
 
 
#==============================================================================
# ** Game_Party
#==============================================================================
 
class Game_Party
  #--------------------------------------------------------------------------
  # * Public Instance Variables
  #--------------------------------------------------------------------------
  attr_reader :songs
  #--------------------------------------------------------------------------
  # * Alias Listing
  #--------------------------------------------------------------------------
  alias_method :meph_gplayinstrum_gparty_inaltems, :init_all_items
  #--------------------------------------------------------------------------
  # * Initialize all Items
  #--------------------------------------------------------------------------
  def init_all_items
    # The Usual
    meph_gplayinstrum_gparty_inaltems
    # Song List
    @songs = []
  end
  #--------------------------------------------------------------------------
  # * Get Song : Get a Song
  #--------------------------------------------------------------------------
  def get_song(song_id)
    # Return if Song Doesn't Exist
    return unless Game_Instrument::Songs.keys.include?(song_id)
    # Return if song already known
    return if @songs.include?(song_id)
    # Push Song into the list
    @songs << song_id
  end
  #--------------------------------------------------------------------------
  # * has_song? : Check if Party has song
  #--------------------------------------------------------------------------
  def has_song?(song_id)
    @songs.include?(song_id)
  end
end
 
#==============================================================================
# ** Window_Tetragram
#==============================================================================
 
class Window_Tetragram < Window_Base
  #--------------------------------------------------------------------------
  # * Window Initialization
  #--------------------------------------------------------------------------
  def initialize
    super(0, 0, 400, 100)
    # Create Note List
    @notes = []
    # Refresh
    refresh
  end
  #--------------------------------------------------------------------------
  # * Set Standard Padding
  #--------------------------------------------------------------------------
  def standard_padding
    0 # 0 to match in case of dim background
  end
  #--------------------------------------------------------------------------
  # * Create Window BackGround
  #--------------------------------------------------------------------------
  def create_back_bitmap
    color = Color.new(0, 0, 0)
    color.alpha = 160
    contents.fill_rect(0, 0, width + 10, height + 10, color)
  end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    contents.clear
    # If WindowStyle is 0
    if Game_Instrument::WindowStyle == 0
      # Draw BackGround
      create_back_bitmap
      # Set Opacity
      self.opacity = 0
    end
    # Draw Tetragram
    4.times do |i|
      contents.fill_rect(12, 20 + (i * 20), 376, 2, text_color(10))
    end
    # Draw Musical Key (Occidental Key of Sol)
    keybitmap = Cache.system('MusicKey')
    contents.blt(25, 8, keybitmap, keybitmap.rect)
    # Draw Played Notes
    draw_played_notes
  end
  #--------------------------------------------------------------------------
  # * Draw Played Notes : Draw the Played Notes in the Tetragram
  #--------------------------------------------------------------------------
  def draw_played_notes
    # Pass Through each note by index
    @notes.each_index do |i|
      # Draw Icon at position in the Tetragram
      draw_icon(@notes[i][0], (i * 26) + 80, (@notes[i][1] * 20) + 9)
    end
  end
  #--------------------------------------------------------------------------
  # * Add Note : Add Note to Note List
  #--------------------------------------------------------------------------
  def add_note(note)
    # Add Note to Note List
    @notes << note
    # Refresh
    refresh
  end
  #--------------------------------------------------------------------------
  # * Add Note : Add Note to Note List
  #--------------------------------------------------------------------------
  def clear_notes
    # Clear Note List
    @notes.clear
    # Refresh
    refresh
  end
end
 
 
#==============================================================================
# ** Scene_Instruments
#==============================================================================
 
class Scene_Instrument < Scene_MenuBase
  #--------------------------------------------------------------------------
  # * Mixin Game_Instrument
  #--------------------------------------------------------------------------
  include Game_Instrument
  #--------------------------------------------------------------------------
  # * Start
  #--------------------------------------------------------------------------
  def start
    # Create Played Notes Handler
    @played_notes = []
    # Created Played song handler
    @played_song  = nil
    # Set BGM to last
    BattleManager.save_bgm_and_bgs
    # FadeOut Music
    fadeout_all(0)
    # SuperClass Method
    super
    # Create Tetragram
    create_tetragram
  end
  #--------------------------------------------------------------------------
  # * Create BackGround
  #--------------------------------------------------------------------------
  def create_background
    @background_sprite = Sprite.new
    @background_sprite.bitmap = SceneManager.background_bitmap
  end
  #--------------------------------------------------------------------------
  # * Create Tetragram : Create the Tetragram
  #--------------------------------------------------------------------------
  def create_tetragram
    @tetragram = Window_Tetragram.new
    # Center at X
    @tetragram.x = (Graphics.width - @tetragram.width) / 2
    # Position at Bottom
    @tetragram.y = (Graphics.height - @tetragram.height) - 20
  end
  #--------------------------------------------------------------------------
  # * Main Update
  #--------------------------------------------------------------------------
  def update
    super
    # Check Played Note
    check_played_note
    # Update Classic Input
    update_classic_input
  end
  #--------------------------------------------------------------------------
  # * Update Classic Input
  #--------------------------------------------------------------------------
  def update_classic_input
    if Input.trigger?(:
      # Play Cancel Se
      Sound.play_cancel
      # Replay BGMs
      BattleManager.replay_bgm_and_bgs
      # Return to Scene
      SceneManager.return
    end
    # Clear notes if input C
    if Input.trigger?(:C) && @played_notes.size > 0
      # Play Clear SE
      Audio.se_play('Audio/SE/Cancel1', 80)
      # Clear Notes
      return clear_notes
    end
  end
  #--------------------------------------------------------------------------
  # * Check Played Note : Check if a Note was Played (by input)
  #--------------------------------------------------------------------------
  def check_played_note
    # Pass Through each Keynote Input Key
    KeyNotes.keys.each do |knote|
      # If Inputted trigger is a Note
      if Input.trigger?(knote)
        # Go to Play Note
        return play_note(knote)
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Play Note : Play a note
  #--------------------------------------------------------------------------
  def play_note(note)
    # Clear Notes if Currently played notes is more than MaxNotes
    if @played_notes.size > MaxNotes
      # Play Buzzer
      Sound.play_buzzer
      # Clear Notes
      return clear_notes
    end
    # Get Parameters 
    pars = Notes[KeyNotes[note]]
    # Play Note SE
    Audio.se_play('Audio/SE/' + pars[0], 80)
    # Add Note to the Tetragram
    @tetragram.add_note([pars[1], pars[2]])
    # Add Played note to Played Notes List
    @played_notes << KeyNotes[note]
    # Wait for Next Note
    Graphics.wait(WaitNote) 
    # Check if notes form a song
    check_song unless @played_notes.size < 4
  end
  #--------------------------------------------------------------------------
  # * Check Song : Check if Notes Form a Defined Song
  #--------------------------------------------------------------------------
  def check_song
    # Pass Through Each Song
    Songs.each do |song|
      # If Song Notes match with played notes
      if song[1][:notes] == @played_notes && $game_party.has_song?(song[0])
        # Set played Song as song id
        @played_song = song[0] 
        # Go to Play Song
        return success_song
      end
    end
  end
  #--------------------------------------------------------------------------
  # * Terminate Playing
  #--------------------------------------------------------------------------
  def success_song
    # Play Success SE
    Audio.se_play('Audio/SE/' + SuccessSE, 80)
    # Wait
    Graphics.wait(50)
    # Return to Scene
    SceneManager.return
    # Replay BGMs
    BattleManager.replay_bgm_and_bgs
    # Do Common Event
    $game_temp.reserve_common_event(Songs[@played_song][:common_event])
  end
  #--------------------------------------------------------------------------
  # * Clear Notes : Clear Played Notes
  #--------------------------------------------------------------------------
  def clear_notes
    # Clear Tetragram (Window) Notes
    @tetragram.clear_notes
    # Clear Main Variable (Played Notes for Scene)
    @played_notes.clear
  end
end




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
#==============================================================================
# ** Meph's SongList : To be Used with Meph's Game Instruments
#------------------------------------------------------------------------------
# MephistoX (Meph's Labs)
# Version 1.5
# 27/02/2012
# RPGMaker VXAce
#------------------------------------------------------------------------------
# * Description :
#
#   This Little Plugin adds a simple Song list that shows you the notes that 
#   compose the differents songs of the main system.
#==============================================================================
 
#==============================================================================
# ** Window_SongInfo
#==============================================================================
 
class Window_SongInfo < Window_Base
  #--------------------------------------------------------------------------
  # * Mixin Game_Instrument
  #--------------------------------------------------------------------------
  include Game_Instrument
  #--------------------------------------------------------------------------
  # * Window Initialization
  #--------------------------------------------------------------------------
  def initialize
    super(0, 0, 336, 48)
    # Refresh
    refresh
  end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    contents.clear
  end
  #--------------------------------------------------------------------------
  # * Update Song : Update Shown Song Info
  #--------------------------------------------------------------------------
  def update_song(song)
    # refresh
    refresh
    # Draw Nil if Song is Nil
    return draw_nil if song.nil?
    # Get Notes
    notes = Songs[song][:notes]
    # Get Center Position
    center_x = ((notes.size * 30) - (contents_width)) / 2
    # Pass Through each index of notes
    notes.each_index do |i|
      # Draw Note Icon 
      draw_icon(Notes[notes[i]][1], (i * 30) - center_x, 0) 
    end
  end
  #--------------------------------------------------------------------------
  # * Draw Nil : Draw a Text to Show there are not songs selected or at all
  #--------------------------------------------------------------------------
  def draw_nil
    # Draw Text indicating there are no Songs
    draw_text(0, 0, contents_width, line_height, 'No Songs!', 1)
  end
end
 
 
#==============================================================================
# ** Window_SongList
#==============================================================================
 
class Window_SongList < Window_Selectable
  #--------------------------------------------------------------------------
  # * Mixin Game_Instrument
  #--------------------------------------------------------------------------
  include Game_Instrument
  #--------------------------------------------------------------------------
  # * Initialize
  #--------------------------------------------------------------------------
  def initialize
    super(0, 0, 336, 96)
    refresh
    select(0)
    activate
  end
  #--------------------------------------------------------------------------
  # * Item Max
  #--------------------------------------------------------------------------
  def item_max
    $game_party.songs.size
  end
  #--------------------------------------------------------------------------
  # * Song
  #--------------------------------------------------------------------------
  def song
    $game_party.songs[index]
  end
  #--------------------------------------------------------------------------
  # * Draw Item
  #--------------------------------------------------------------------------
  def draw_item(index)
    # Get Song
    song =  Songs[$game_party.songs[index]]
    # Get Rect
    rect = item_rect(index)
    rect.width -= 4
    # Draw Default Partiture Icon
    draw_icon(song[:icon], rect.x, rect.y)
    # Draw Song Name
    draw_text_ex(rect.x + 26, rect.y, song[:name])
  end
  #--------------------------------------------------------------------------
  # * Update Help
  #--------------------------------------------------------------------------
  def update_help
    # Update Song Info
    @help_window.update_song(song)
  end
end
 
#==============================================================================
# ** Scene_SongList
#==============================================================================
 
class Scene_SongList < Scene_MenuBase
  #--------------------------------------------------------------------------
  # * Start
  #--------------------------------------------------------------------------
  def start
    super
    # Create Song Info
    create_songinfo_window
    # Create Song List
    create_song_list
  end
  #--------------------------------------------------------------------------
  # * Create Song Info Window
  #--------------------------------------------------------------------------
  def create_songinfo_window
    @song_info_window = Window_SongInfo.new
    @song_info_window.x = (Graphics.width - @song_info_window.width) / 2
    @song_info_window.y = (Graphics.height - 144) / 2
  end
  #--------------------------------------------------------------------------
  # * Create Song List
  #--------------------------------------------------------------------------
  def create_song_list
    @song_list_window = Window_SongList.new
    @song_list_window.x = @song_info_window.x
    @song_list_window.y = @song_info_window.y + @song_info_window.height
    @song_list_window.set_handler(:cancel, method(:return_scene))
    @song_list_window.help_window = @song_info_window
  end
end




Mis à jour le 22 octobre 2020.






Vongola X - posté le 27/10/2014 à 13:14:04 (168 messages postés)

❤ 0

Très bon script qui fait plaisir au nostalgique comme moi :)


Rajang - posté le 30/10/2014 à 11:04:51 (68 messages postés)

❤ 0

Simple makeur. Mais c'est déja ça.

J'ai essayé, et je trouve ce script absolument génial !
Je crois que je vais l'utiliser pour mon projet :lol
Un peu long à mettre en place, mais ça vaut le coup :)

Mon histoire interactive : https://amethysts.itch.io/coalescence


Necromandien - posté le 15/07/2015 à 19:37:20 (156 messages postés)

❤ 0

Des p'tits trous, des p'tits trous, TOUJOURS DES P'TITS TROUS !!!

benlitzler a dit:


J'ai quelque question.
Parce que j'ai fait tout comme se qui est dit, mais quand j'ouvre le livre des ocarina dans mon jeux, il est écrit "No songs!"

Et quand je joue un "song" à partir d'un événement, mon personnage change (Mario) en personnage de la démo.

Peut tu m'aider? :s



T'as ajoutés des musiques au moins ? :p

Un magicien n'est jamais en retard, ni en avance d'ailleurs, il arrive précisément à l'heure prévue !


Feurikko - posté le 17/10/2015 à 19:32:41 (0 messages postés)

❤ 0

Le lien est mort :/


Naksu - posté le 19/12/2016 à 20:45:05 (8 messages postés)

❤ 0

Périmé dans : x années

Lien mort.


Zagor - posté le 05/10/2017 à 22:54:23 (8 messages postés)

❤ 0

Pyromane invétéré

J'en ai trouvé un encore valide ici :

http://www.mediafire.com/file/ds3ae3bgxnioiq1/Ocarina+Demo.rar


Yugharduynsenterk - posté le 14/10/2017 à 15:01:07 (1 messages postés)

❤ 0

merci Zagor

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