Reduced the hear distance of some of the sounds

master
Fernando Carmona Varo 2015-11-11 00:28:54 +01:00
parent c62d9b9a3d
commit 881e4c1e00
2 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ function mario.game_start(pos, player, gamedef)
-- Set start positions
mario.game_reset(id, player)
mario.update_hud(id, player)
minetest.sound_play("mario-game-start", {pos = pos,max_hear_distance = 40,gain = 10.0,})
minetest.sound_play("mario-game-start", {pos = pos,max_hear_distance = 20,gain = 10.0,})
end
-- Finish the game with the given id
@ -205,7 +205,7 @@ function mario.on_player_got_coin(player)
-- Set start positions
mario.game_reset(gamestate.id, player)
minetest.sound_play("mario-game-start", {pos = pos,max_hear_distance = 40,gain = 10.0,})
minetest.sound_play("mario-game-start", {pos = pos,max_hear_distance = 20,gain = 10.0,})
end)
end

View File

@ -65,7 +65,7 @@ function pacmine.game_start(pos, player, gamedef)
-- Set start positions
pacmine.game_reset(id, player)
pacmine.update_hud(id, player)
minetest.sound_play("pacmine_beginning", {pos = pos,max_hear_distance = 40,gain = 10.0,})
minetest.sound_play("pacmine_beginning", {pos = pos,max_hear_distance = 20,gain = 10.0,})
end
-- Finish the game with the given id
@ -205,7 +205,7 @@ function pacmine.on_player_got_pellet(player)
-- Set start positions
pacmine.game_reset(gamestate.id, player)
minetest.sound_play("pacmine_beginning", {pos = pos,max_hear_distance = 40,gain = 10.0,})
minetest.sound_play("pacmine_beginning", {pos = pos,max_hear_distance = 20,gain = 10.0,})
end)
end