-
Notifications
You must be signed in to change notification settings - Fork 4
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
monster attacks player #16
base: main
Are you sure you want to change the base?
Conversation
I changed the name of the res folder to resources to it compiles now. There are two files in the resources folder. "player_sprite" is just a sprite i got online; "sprite" is the same sprite except i tried to change the attack visual to an explosion. I was just messing around to see how it would look so the quality is very bad. (If you want to see the original attack visual, just change the file name in the loadAnimations() method from the Player class) If you run the main class, a window should appear with a character. You can control it by using the WASD keys and "attack" using the spacebar key. ALSOOOOOOOO this still has many mistakes and I'm still working on applying clean architecture |
one more thingg, the Entities here are not final. I just made these with minimal elements just so I could implement the attack |
otherwise, i think the basic features work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the classes are placeholders and experimental features, we also must work on creating interfaces for player death, and refine the health and damage system, but this is an excellent starting point.
…i corrected it and also centralized the hitradius/attackradius of the player
…player health to better reflected its applied usage. Documented instance variables and methods related to player health. Missing documentation on Graphics g parameter for drawHealthBar().
…entation for method drawHealthBar()
this is not compiling. there are many errors here!!!!!!!!!!!!!!! i still haven't completely applied clean architecture and the SOLID principles. the attack method is still not finished. this is just for tracking progress