# Fighting Game

**URL:** <https://forum.kirupa.com/t/fighting-game/122482>\
**Category:** hiring\
**Created:** [September 14, 2004, 3:59am UTC](https://forum.kirupa.com/t/fighting-game/122482 "2004-09-14T03:59:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozzy\_fan666](https://avatars.discourse-cdn.com/v4/letter/o/94ad74/32.png) [@ozzy\_fan666](https://forum.kirupa.com/u/ozzy_fan666)\
**Post date:** [September 14, 2004, 3:59am UTC](https://forum.kirupa.com/t/fighting-game/122482/1 "2004-09-14T03:59:07Z")

</div>

Hi. I want to know how to make a character punch when you press a ceratin key and if it is in range, take damage from another characters health bar. What I really need help with is the logic/code behind the attacking.
