Team-Awkward-Smile / Epilogue

A 2D side-scroller game inspired by Contra, Splatterhouse, Doom, and works of HR Gieger.
MIT License
3 stars 0 forks source link

Make prototypical iframes for testing purposes #577

Open Pseudo-64 opened 1 month ago

Pseudo-64 commented 1 month ago

So here's a check list of iframes that may need to be temporarily implemented to test the reaction time of certain activities.

Some reference material in case this needs extra detail:

https://github.com/Team-Awkward-Smile/Epilogue/wiki/Mechanical-Workings-Of-Individual-Enemies

https://github.com/Team-Awkward-Smile/Epilogue/wiki/Gameplay-&-Mechanics#enemy-hit-indication

Hhk187 commented 1 month ago

whats the vulnerable threshold? what are the condition for it i guess

Pseudo-64 commented 1 month ago

@Hhk187 from discord:

Yeah, so the vulnerable threshold is when the enemy goes into glory kill mode. Basically HP goes to zero, and enemy enters the state of having gun extractable (or if failed) doing kamikaze attack.

Pseudo-64 commented 1 month ago

@vitormaduro can you redirect @Hhk187 towards the code of the glory kill/kamikaze attack.

Pseudo-64 commented 1 month ago

@Hhk187 From discord:

In case vitor doesn't reply, as he could be busy with house moving, then know that as soon as an enemy hits 0 HP (and if you read the state machine you'd know enemy doesn't directly upon hitting 0 HP as they go into a separate state), then they start blinking the iframes.

vitormaduro commented 1 month ago

@Hhk187 Once an enemy reaches 0 HP, it will become Vulnerable. What happens after that depends on each enemy, but the code is found in Npc.cs

Hhk187 commented 1 month ago

Even pointing me to the correct file wow, thanks boss

Hhk187 commented 3 weeks ago

@Pseudo-64 ready to test, there is a scene in the gamplay folder called 'test_guns" Play that one