mx0c/super-mario-python

Add Sound when koopa shell kills other enemies

mx0c opened this issue · 5 comments

Thanks! Will start working on it!
Just a question, in which part of the code are the objects from the Goomba class initilized? This would help me pass the sound object to them, to be accessed inside the Goomba class.

mx0c commented

They are initialized in Levels.py (addGoomba(...)) when loading the Level.

Ok. Will give it a shot!

mx0c commented

Thanks ! Could you maybe add those 2 soundfiles: kick.ogg, brick-bump.ogg (from here: https://github.com/meth-meth-method/super-mario/tree/master/public/audio/fx) and play the kick if the shell is kicked and the brick bump when killing enemies.

Ok sure! Im gonna do that now