Continuously damage enemies on overlap

Get help using Construct 2

Post » Sun Jun 23, 2013 9:40 pm

Hmm, I think you're simplifying a bit. Trying to expand the example to include many different attack types. A single local variable on the enemy can only toggle whether it takes damage from a single source - if I dropped fire and then shot at an enemey, I'd want it to take the shot damage regardless of when the fire is damaging it.
B
9
S
2
Posts: 58
Reputation: 1,416

Post » Sun Jun 23, 2013 9:57 pm

Cool it works. Hopefully this isn't too computationally intensive. My problem was not using looping 'For each attack' and 'For each enemy' before storing into the array so it was only getting one of them I assume (e.g., I use a flamethrower attack and two fire sprites tick at same time, only one was getting stored in the array)
B
9
S
2
Posts: 58
Reputation: 1,416

Previous

Return to How do I....?

Who is online

Users browsing this forum: Lancifer, LaurenceBedford, legendaryarcane, Magistross, randomly and 11 guests