*SOLVED* Enemy / Object instance question

For questions about using Classic.

Post » Mon Jun 15, 2015 12:10 pm

Hello!

EDIT: Can't post a URL to my .cap yet due to low rep / new to board. Maybe I could PM it to anyone that could help?

So my issue is that all of my enemy objects will react to any single collision. If one collides with something, the others will react and turn around, change the animation, etc.

I made copies of the enemys by ctrl + click and dragging them out. I realize that may be the problem, however I don't know how to fix it.

Would I just have to create a new object for each enemy?
Last edited by bclikesyou on Wed Jun 17, 2015 7:15 pm, edited 1 time in total.
B
42
S
11
G
1
Posts: 264
Reputation: 3,299

Post » Wed Jun 17, 2015 5:58 pm

Image

Here is an image of the collision detection.

When this runs, and a right collision is detected, everything is fine. Its when an enemy has a left collision. It triggers all enemys to turn around regardless if they've collided or not.
B
42
S
11
G
1
Posts: 264
Reputation: 3,299

Post » Wed Jun 17, 2015 7:14 pm

Image

Solved! with the help of JayJay :D
B
42
S
11
G
1
Posts: 264
Reputation: 3,299


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests