I have a problem with the scenes/tengo un problema con las escenas

Rafaello

  • Posts: 5
hello everyone excuse my bad English, but I have a problem when changing scenes the sound of the previous scene continues to sound and this generates that it is combined with the sound of the new scene, any solution?

hola a todos disculpen tengo un problema al momento de cambiar escenas el sonido de la escena anterior sigue sonando y esto genera que se junte con el sonido de la nueva escena, alguna solución?

Max Marin

  • Posts: 138
What you would have to do is put the sound on one channel, and put all the scenes when you create it, stop all the sounds on that channel and there play the other music

Lo que tendrias que hacer es poner el sonido en un canal, y a todas las escenas  ponerle cuando se cree, parar todos los sonidos de ese canal y ahi reprodusir la otra musica

yo hablo espanol pero creo que todos acá se manejan en inglés ¿vos hablas español?
I'm human

LIBERADO

  • *
  • Posts: 2720
En el mismo lugar donde encontraste un bloque para reproducir sonido, Stencyl también tiene bloques para parar el sonido.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

Chris24XD

  • Posts: 48
When moving to the next scene put a stop all sounds before the scene switch.
Otherwise if the sound is played via a channel, get a stop/resume channel and write its channel ID.
Hope l helped.

Note: l'm a greek child so sorry, if l confused you.

Argentino

  • Posts: 1
Hi Rafaello. Here is the code to stop the sound between scenes.
 I also made you a basic example. Go to File - import game --- and load the example.
Greeting

Hola Rafaello.  Aquí tienes  el código para detener el sonido entre escena.
También te Hice un ejemplo básico.  Ve a Archivo – importar juego --- y carga el ejemplo.
Saludo