-
Notifications
You must be signed in to change notification settings - Fork 67
feat: implement player health and combat system (Issue #132) #133
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
base: main
Are you sure you want to change the base?
feat: implement player health and combat system (Issue #132) #133
Conversation
|
Hey @MK-codes365 Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm. Thanks for contributing in OpenCode'25 ✨✨! |
3f43f21 to
4a3078c
Compare
|
@MK-codes365 console logs are not showing for me, the playerhealth script is also not attached to the player and the animator doesn't show me punch and death. |
|
Okay wait let me check should I give you a screenshot while testing in unity ? |
|
yess |
|
@MK-codes365 if you don't make any changes soon I'll be assigning this issue to the next contributor |
|
@aadyagupta23 sorry can you give me time till 4 am ? |
|
you have time till tomorrow noon dw |
|
@aadyagupta23 thanks |
…ita#132) - Fixed compilation errors in Health.cs, Player.cs, and HealthBarUI.cs - Implemented core health system with Damage and Death logic - Added punch attack system with configurable cooldown and animation support - Integrated real-time health bar UI updates - Added 'K' key debug helper for damage testing - Configured Animator triggers (Punch, Death) and physics constraints
|
@MK-codes365 this issue is now being assigned to next contributor |
|
@aadyagupta23 i am just pushing the code it's done |
|
alright but no extensions from next time, commit right now |
Issue:#132
Implemented the core combat and survival foundation for the player. This includes a modular health system, a punch attack mechanic, real-time UI feedback, and complete death state handling.
Key Features:
Modular Health System:
Combat System:
Real-time UI Visuals:
Death Persistence:
Testing Tools (Internal):
Files Added/Modified: