Closed deepak2431 closed 5 years ago
in you background music file name, there is an extra space
Yeah
I can't spot that
go through this https://www.youtube.com/watch?v=8sCQQlqeOKY
I have gone through this video it's code is not clean as this one.So how can I access the functions of playing music and others in main.py from sound_manager.py
The indented system is: from main.py, i will call, at start of the game game_manager.sound_manager.play('bg_music_name')
and, from cart.py, when it picks a coin, i will call game_manager.sound_manager.play_sound('coin_pickup_sound_name')
Try to implement above without my help. Your structure till now is good.
I can only guide you in making system and structure. I shouldn't debug your code. Hope you understand.
Yaa sir it's ok. As I don't have much experience with python so I face bit problem.
No problem. You should try to do easy stuff yourself. I can help on hard issues.
@deepak2431 Update main.py. Also, I appreciate your efforts, always ask anyone of us if you are facing issues.
the folder structure is still not the same as what i sent you a screenshot in #43