This is my first real question here in Construct forum, and while it's not a "How do I" question, I'm not sure if this is a good one.
Right now, I'm really enjoying Construct! It's so easy to understand! I'm already starting some personal projects on it, and so far everything ran smoothly.
However, I'm puzzled by how Construct checks its events. I'm no programming expert - only dealt with Actionscript 2.0 and a bit of LUA (for scripting and interface implementing). And I did something on Construct I didn't think would be correct, but in fact it worked perfectly! I'm sorry if this question sounds stupid, but I'm still learning the ropes here
Here's my doubt:
I've decided to test the particles on Construct, so I've created a BulletParticle at the X,Y of the GoodBullet (event 5). To make the particle follow the bullet, I've decided to simply attach the X,Y of the particle to the bullet, on the Always event (1).
This way, I expected to see probably just the first bullet with a trail, as it was placed offscreen... But I wasn't expecting for all the bullets to already come out with a particle attached!!! .
I noticed that once the bullets are out of the scenario, the particles go to 0,0 (because the bullet is dead, I get it). But I can't understand how Construct can check what bullet each particle should follow, as it's on a "Always" event, and it's not related to the whole "creating bullet" event.
If I were to create something like this on Flash, for example, I'd have to create instances for each of the bullet and particle, so that my particles knew which bullet they should follow. I know Construct is meant to be easy, but this is just too much!
Can anyone explain this to me?
Thanks in advance!
edit: Here's the CAP file: http://www.gammabeam.net/streetdefender_01.cap