# Sword Hittest

**URL:** <https://forum.kirupa.com/t/sword-hittest/204549>\
**Category:** programming\
**Created:** [October 20, 2006, 6:14pm UTC](https://forum.kirupa.com/t/sword-hittest/204549 "2006-10-20T18:14:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1337webninja](https://avatars.discourse-cdn.com/v4/letter/1/9dc877/32.png) [@1337webninja](https://forum.kirupa.com/u/1337webninja)\
**Post date:** [October 20, 2006, 6:14pm UTC](https://forum.kirupa.com/t/sword-hittest/204549/1 "2006-10-20T18:14:07Z")

</div>

Ive just started a game.

Its nothing special. Im new to flash and ive been following a tutorial. I finished the tutorial and it left me with a character that can attack with a sword but no enemies or enemy script. I just want a simple script for an enemy to kill you if you walk into him but if you slash him with your sword he dies.

heres a link to what ive done so far…  
[www.webninja.me.uk/platformgame.fla](http://www.webninja.me.uk/platformgame.fla)

Thanks! :kir:
