Thanks for your coments. That?s really nice. I have fixed the Problem. I will post you the new version later. But now I have a basic question how to do some stuff.
<img src="http://www.tastybytes.de/jpgs/2011/10/how_to_02.gif" border="0" />
I have 7 bad Guys. They all do the same. Something like:
BadGuy1 | On collision with Hero | Hero | destroy
| Hero | shake
| Hero | Set position
| Hero | and so on.....
BadGuy2 | On collision with Hero | Hero | destroy
| Hero | shake
| Hero | Set position
| Hero | and so on.....
BadGuy3 | On collision with Hero | Hero | destroy
| Hero | shake
| Hero | Set position
| Hero | and so on.....
BadGuy4 | On collision with Hero | Hero | destroy
| Hero | shake
| Hero | Set position
| Hero | and so on.....
BadGuy5 | On collision with Hero | Hero | destroy
| Hero | shake
| Hero | Set position
| Hero | and so on.....
BadGuy6 | On collision with Hero | Hero | destroy
| Hero | shake
| Hero | Set position
| Hero | and so on.....
BadGuy7 | On collision with Hero | Hero | destroy
| Hero | shake
| Hero | Set position
| Hero | and so on.....
Have I to do this on every badguy?? Or is there a more elegant way?
Something like this maybe?
<img src="http://www.tastybytes.de/jpgs/2011/10/how_to_01.gif" border="0" />
All BadGuys | On collision with Hero | Hero | destroy
| Hero | shake
| Hero | Set position
| Hero | and so on.....