-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop bombs #47
Comments
@StewartWallace1115 At present there is no class suitable for creating sprites for bombs. I would recommend you to create a new class called BombAnimations in bomberman.animations package. You can make a sprite for them similar to how I have created sprite for dying animation of the player.
I feel droping of bombs would require adding code in more than one class and hence I would like to know how you are trying to implement droping of bomb. Then only I would be able to suggest how we can go about it. In case you need more clarifications do let me know. |
Thank you for the information. My plan was to create another if statement in the InputManger class that if the player hits space bar then the player will drop a bomb. The dropBomb() method is in the player class. From there I planned on calling the dropbombanimation. By looking at the information you gave me I need another class. At some point I was planning on adding a timer so after a certain amount of seconds the bomb will explode. I don't know where I should put the timer though. I thought about the dropbomb method in the player class, but I'm not sure to be honest. Let me know what you think and thank again. |
I have submitted pull request for the same since you didnt submit one 😛 |
Sorry about that :(. I got really busy IRL. |
No worries. You can contribute whenever you find time. |
Hello, has somebody implemented a function/class for exploding the bomb? Please let me know as I am also working on it. Thanks a lot. |
@khan101101 I have lost track of project, Sorry :( Its good to see that you want to contribute :) |
@ashish2199 well exploding bomb functionality is not implemented yet, I will work on it. |
What class and method should I add the drop bomb command to? Also, how do I use the bomb sprite?
The text was updated successfully, but these errors were encountered: