# Enemies

**URL:** https://forum.kirupa.com/t/enemies/312070
**Category:** programming
**Created:** [July 24, 2010, 11:20am UTC](https://forum.kirupa.com/t/enemies/312070 "2010-07-24T11:20:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Gugis](https://avatars.discourse-cdn.com/v4/letter/g/d2c977/32.png) [@Gugis](https://forum.kirupa.com/u/Gugis)
#### Post date: [July 24, 2010, 11:20am UTC](https://forum.kirupa.com/t/enemies/312070/1 "2010-07-24T11:20:04Z")

</div>

Hello flash developers. I need some help. I made flash platformer (using AS2). I made moving hero and coin to collect and i’ve stucked. I want to add enemies into game. It should work like this: if enemy is near it hits hero and hero lose hit points. same for hero and enemy. I know it’s not so easy bu i hope i’ll get help for game developing. Thank you, and sorry for my bad english.

Here’s my source file
