vineetjc / pygame-Coin-Fall-

Collect as many coins from the coin fall in 30 seconds. Avoid the bombs! Made using pygame.
MIT License
6 stars 15 forks source link

Music file Changed #47

Closed deepak2431 closed 5 years ago

amrit-choudhary commented 5 years ago

the folder structure is still not the same as what i sent you a screenshot in #43

amrit-choudhary commented 5 years ago

in you background music file name, there is an extra space

deepak2431 commented 5 years ago

Yeah

deepak2431 commented 5 years ago

I can't spot that

amrit-choudhary commented 5 years ago

go through this https://www.youtube.com/watch?v=8sCQQlqeOKY

deepak2431 commented 5 years ago

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

amrit-choudhary commented 5 years ago

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.

deepak2431 commented 5 years ago

Yaa sir it's ok. As I don't have much experience with python so I face bit problem.

amrit-choudhary commented 5 years ago

No problem. You should try to do easy stuff yourself. I can help on hard issues.

vineetjc commented 5 years ago

@deepak2431 Update main.py. Also, I appreciate your efforts, always ask anyone of us if you are facing issues.