Dear Scirra Team
First of all, I love Construct 2 and almost all of your weekly updates.
I noticed a small thing, that isn't necessary but would be great in some of the new releases.
I'm talking about an option to easy detect which kind of object of a family is acutally taken (e.g. in a foreach-loop)
Here's an example picture i made (I'm really sorry about the bad quality of this picture and the fact I had to edit it (with Paint <img src="smileys/smiley5.gif" border="0" align="middle" /> ) instead of making a printscreen in Construct 2 but thats my only option at the moment...)
dropbox.com/s/bv6v459bt6ci6hv/lulz.png
Maybe you think this change would be useless (and maybe you're right in this example picture) but imagine:
You detect a collision between a shot and the Enemy Family and each of the containing objects (EnemyBig, EnemyExplode) have different ways to deal with it.
E.g. EnemyBig gets smaller, EnemyExplode shoots bomb fragments in each direction etc.
Imagine Shot is a family too and just some kind of shots would hurt specific kind of enemys.
I know there are some workarounds for this problem, but I think it would make things easier.
And here a small code example of what I mean (ActionScript 3.0)
foreach(Enemys)
{
var EnemyBig:Enemys = Enemys as EnemyBig;
var EnemyExplode:Enemys = Enemys as EnemyExplode;
if(EnemyBig != null) { Enemys.Health = 3; }
if(EnemyExplode != null) { Enemys.Damage = 2; }
}
I hope you unterstand what I mean and you will implement it in a future release.<img src="smileys/smiley1.gif" border="0" align="middle" />
Thanks,
Geru