# The last enemy not appears

**URL:** <https://forum.kirupa.com/t/the-last-enemy-not-appears/324507>\
**Category:** flash\
**Created:** [August 24, 2011, 7:09pm UTC](https://forum.kirupa.com/t/the-last-enemy-not-appears/324507 "2011-08-24T19:09:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DAINO](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@DAINO](https://forum.kirupa.com/u/DAINO)\
**Post date:** [August 24, 2011, 7:09pm UTC](https://forum.kirupa.com/t/the-last-enemy-not-appears/324507/1 "2011-08-24T19:09:16Z")

</div>

[COLOR=#222222]hello (:,  
I’m making a platform game, and i have a problem. iam attaching 11 enemys, and my last enemy not appears.  
I a lot of stuff, and finally, I discovered the source of the problem.  
on my hero class i wrote this:

```auto

[COLOR=#0066CC]_root[/COLOR].[COLOR=#0066CC]_x[/COLOR] -= [COLOR=#66CC66]([/COLOR][COLOR=#0066CC]_root[/COLOR].[COLOR=#0066CC]_x[/COLOR] + [COLOR=#66CC66]([/COLOR][COLOR=#0066CC]_x[/COLOR] - [COLOR=#CC66CC]275[/COLOR][COLOR=#66CC66])[/COLOR][COLOR=#66CC66])[/COLOR] [COLOR=#66CC66]/[/COLOR] [COLOR=#CC66CC]5[/COLOR];

```

and when i changed it to this:

```auto

[COLOR=#0066CC]_root[/COLOR].[COLOR=#0066CC]_x[/COLOR] = -[COLOR=#0066CC]_x[/COLOR];

```

the last enemy appears!  
but i want it to be like this (or the first one):

```auto

[COLOR=#0066CC]_root[/COLOR].[COLOR=#0066CC]_x[/COLOR] = -[COLOR=#0066CC]_x[/COLOR]+[COLOR=#CC66CC]300[/COLOR];

```

but it doesnt work ☹  
also, i found that if i placed the hero close to the last enemy, the last enemy appears.  
Please help me find some answers (:

[/COLOR]
