Skip to content

Commit

Permalink
Agrego sonido inicio
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasSchkurko committed Nov 13, 2024
1 parent 44273f2 commit bd09139
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Binary file removed assets/m.finOleada.mp3
Binary file not shown.
Binary file added assets/m.inicio.mp3
Binary file not shown.
Binary file removed assets/m.inicioOleada.mp3
Binary file not shown.
8 changes: 7 additions & 1 deletion main.wpgm
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@ import wollok.game.*
import administradorDeJuego.*

program cursorGame {

const inicio = game.sound("m.inicio.mp3")

game.boardGround("fondo2.jpg")
game.title("cursor")
game.height(6)
game.width(15)
game.cellSize(100)

game.start()

game.addVisual(pantalla)

inicio.play()
inicio.volume(1)

game.schedule(5000, {
game.removeVisual(pantalla)
configuracion.agregarVisuals()
Expand Down

0 comments on commit bd09139

Please sign in to comment.