Skip to content
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

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Conversation

qwet1235
Copy link
Collaborator

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

@qwet1235 qwet1235 linked an issue Nov 18, 2022 that may be closed by this pull request
@qwet1235
Copy link
Collaborator Author

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

@qwet1235
Copy link
Collaborator Author

one more thingg, the Entities here are not final. I just made these with minimal elements just so I could implement the attack

@qwet1235
Copy link
Collaborator Author

otherwise, i think the basic features work

SoySerhio507
SoySerhio507 previously approved these changes Nov 24, 2022
Copy link
Collaborator

@SoySerhio507 SoySerhio507 left a 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.

@qwet1235 qwet1235 changed the title This is not compiling!!!!!!!!! attack methods Nov 24, 2022
…i corrected it and also centralized the hitradius/attackradius of the player
@qwet1235 qwet1235 changed the title attack methods monster attacks player Nov 26, 2022
@SoySerhio507 SoySerhio507 linked an issue Nov 29, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature 6] Managing entity health based on various decisions [Feature 5.2] Monster attacks player
5 participants