Mas audio

parent 587dfe3e
No preview for this file type
...@@ -32,7 +32,7 @@ void PantallaInicio::manejarEntrada(Handle &handle) { ...@@ -32,7 +32,7 @@ void PantallaInicio::manejarEntrada(Handle &handle) {
switch (event.key.keysym.sym) { switch (event.key.keysym.sym) {
case 13: case 13:
Cancion.pausar(); Cancion.pausar();
play_video("assets/Encerrado.mp4", "es"); play_video("assets/Encerrado", "es");
handle.reemplazamePor(colPantallas[0]); handle.reemplazamePor(colPantallas[0]);
break; break;
} }
...@@ -47,7 +47,7 @@ void PantallaInicio::manejarEntrada(Handle &handle) { ...@@ -47,7 +47,7 @@ void PantallaInicio::manejarEntrada(Handle &handle) {
cout<<"Raton x "<<xRaton<<" Raton z "<<zRaton<<endl; cout<<"Raton x "<<xRaton<<" Raton z "<<zRaton<<endl;
if(colisionesInterfaz[0].colisiona(xRaton, zRaton) ){ if(colisionesInterfaz[0].colisiona(xRaton, zRaton) ){
Cancion.pausar(); Cancion.pausar();
play_video("assets/Encerrado.mp4", "es"); play_video("assets/Encerrado", "es");
handle.reemplazamePor(colPantallas[0]); handle.reemplazamePor(colPantallas[0]);
} }
} }
...@@ -73,4 +73,4 @@ void PantallaInicio::renderizar(SDL_Renderer *renderer, int tamx, int tamy) { ...@@ -73,4 +73,4 @@ void PantallaInicio::renderizar(SDL_Renderer *renderer, int tamx, int tamy) {
} }
} }
\ No newline at end of file
...@@ -30,7 +30,7 @@ void Sonido::play(){ ...@@ -30,7 +30,7 @@ void Sonido::play(){
} }
void Sonido::pausar(){ void Sonido::pausar(){
Mix_Pause(-1); Mix_HaltMusic();
} }
bool Sonido::getTocada(){return tocada;} bool Sonido::getTocada(){return tocada;}
...@@ -38,4 +38,4 @@ bool Sonido::getTocada(){return tocada;} ...@@ -38,4 +38,4 @@ bool Sonido::getTocada(){return tocada;}
bool Sonido::acabado(){ bool Sonido::acabado(){
acaba=!Mix_PlayingMusic(); acaba=!Mix_PlayingMusic();
return acaba; return acaba;
} }
\ No newline at end of file
WEBVTT
1
00:00:01.750 --> 00:00:03.500
Así que esta es la habitación donde
2
00:00:03.500 --> 00:00:05.000
van ha probar si soy apto
3
00:00:05.000 --> 00:00:06.000
para el trabajo o no
3
00:00:06.125 --> 00:00:07.500
(Distorsionado) Jajaja
4
00:00:07.650 --> 00:00:08.000
¿¿Huh??
5
00:00:08.125 --> 00:00:09.000
¿Qué es esa voz?
6
00:00:09.250 --> 00:00:10.300
*Toques al microfono*
7
00:00:10.300 --> 00:00:11.000
(Distorsionado) Eh..
8
00:00:11.000 --> 00:00:12.000
(Distorsionado) Esto no va
9
00:00:12.000 --> 00:00:13.000
(Distorsionado) Ah!
10
00:00:13.750 --> 00:00:15.000
(Distorsionado) ¡Te he encerrado!
11
00:00:15.000 --> 00:00:16.000
¡Maldita sea!
12
00:00:16.000 --> 00:00:18.000
¡Me ha encerrado!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment