1)created a local mute when, end_screen and game loop called which fixed the problem
2)menu_screen now returns value of mute
3)end_screen now takes mute as a parameter
4) sound of blocks hitting is still there on muting :(
No screenshots attached because it's a sound issue! :)
i Guess the problem was most probably due to including mute in constants.py as it changed the value of mute to "True" when it was imported.i am not entirely sure.
1)created a local mute when, end_screen and game loop called which fixed the problem 2)menu_screen now returns value of mute 3)end_screen now takes mute as a parameter 4) sound of blocks hitting is still there on muting :(
No screenshots attached because it's a sound issue! :)
i Guess the problem was most probably due to including mute in constants.py as it changed the value of mute to "True" when it was imported.i am not entirely sure.