This is the way:
Take a look at the video:
www.youtube.com/watch?v=3cVCbiEG4dQ&t=78sAt approximately minute 8 it is explained how to integrate the music, the effects and the loading screen. The video is translated into English and post edited by me.
What the video doesn't explain is how to edit the music and effects, or how to draw the Loading Screen. For that I give you one steps to follow now:
The following text is taken from the book Pac-man ZX Spectrum that you can consult on the blog of the same name in the beeper chapter. You have all the links in the video.
Says so:
Let's compile the music. In the Beepola program select "Compile song" from the "tools" menu. Make sure to leave the following parameters selected:
Output Type: Song Data Only (*.asm).
Beeper Engine: The Music Box.
When the end of the song is reached: Loop back to the defined LOOP START point.
Player Routine: Exit after every note (for in-game music).
Press "OK."
Save the generated file in the Sound folder of the Suit ZX, with the name Pacman_intro.asm.
The article continues with the editing of the file; but now MPAGD Reloaded does it for you. So the only thing left to do is:
Rename your file Pacman_intro.asm to Tune_Pacman_intro.asm so MPAGD Reloaded will recognize it as a song.
Ready!
You already know the rest if you have been paying attention to the video; but it is very simple:
When you want to call your song include SOUND 1 in your scripts in the place you prefer. You have an explanatory note in the Ralase folder.
That's all.
Another very interesting video to integrate music through midi sources in your games:
www.youtube.com/watch?v=8_tpUOXLkzw&t=213sIn Spanish:
Este es el camino:
Hecha un vistazo al vídeo:
www.youtube.com/watch?v=3cVCbiEG4dQ&t=78sEn el minuto 8 aproximadamente se explica cómo integrar la música, los efectos y la screen de carga. El vído está traducido al inglés y post editado por mi.
Lo que no explica el video es cómo editar la música y los efectos, ni cómo dibujar la Screen de carga. Para eso te doy uno pasos a seguir ahora:
El siguiente texto está sacado del libro Pac-man ZX Spectrum que puedes consultar en el blog del mismo nombre en el capítulo beeper. Todos los enlaces los tienes en el libro.
Dice así:
Vamos a compilar la música. En el programa Beepola selecciona "Compile song" del menú "tools". Asegúrate de dejar seleccionados los siguientes parámetros:
Output Type: Song Data Only (*.asm).
Beeper Engine: The Music Box.
When the end of the song is reached: Loop back to the defined LOOP START point.
Player Routine: Exit after every note (for in-game music).
Pulsa "OK".
Guarda el archivo generado en la carpeta Sound del Suit ZX, con el nombre Pacman_intro.asm.
El artículo continúa con la edición del archivo; pero ahora MPAGD Reloaded lo hace por tí. Con lo que lo único que queda por hacer es:
Cambia el nombre Pacman_intro.asm de tu archivo por Tune_Pacman_intro.asm para que MPAGD Reloaded lo reconozca como una canción.
Listo!
El resto ya lo sabes si has estado atento a el video; pero es muy sencillo:
Cuando quiereas llamar a tu canción incluye SOUND 1 en tus guiones en el lugar que prefiera. Tienes una nota explicativa en la carpeta Ralase.
Esto sería todo.
Otro video para integrar música a través de fuentes midi en tus juegos muy interesante:
www.youtube.com/watch?v=8_tpUOXLkzw&t=213s