eyes glowing in dark help

Get help using Construct 2

Post » Fri Apr 15, 2016 12:01 pm

So I was making a horror style game and I made a bat enemy and made two sections to it... first is the body which fly's at you. And the second is its eyes which are supose to pin to the bat.

Its not working.

I tried on collision with bat--- action--- then for eyes, pin to bat. The bats went crazy!

Please help!
B
20
S
3
G
2
Posts: 94
Reputation: 2,402

Post » Fri Apr 15, 2016 2:15 pm

Message: ElChuchis can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I make this:

https://mega.nz/#!acZl3KIC

Key:

!iBM1z9ODodLBLZVLgP4KbO52tJgsHS4AVgt1SW8Wmbo
B
14
S
6
Posts: 63
Reputation: 1,236

Post » Fri Apr 15, 2016 3:15 pm

Probably best to do this:
(Create a container with bat/eyes sprite)
On bat eyes created  |  move to object bat (or other relative position)
                 |  pin to bat

The problems I can see with your current method, for reference:
● [On collision with] triggers whenever something begins overlapping or is created overlapping another object, so it can happen multiple times (i.e. multiple bats can overlap and cause strange behavior)
● If the objects aren't in a container they can pick other instances. That is to say, bat1 can have bateyes2 pinned to it.
Last edited by Sumyjkl on Fri Apr 15, 2016 3:20 pm, edited 1 time in total.
B
42
S
14
G
3
Posts: 165
Reputation: 5,115

Post » Fri Apr 15, 2016 3:17 pm

Thanx! It helped a lot!
B
20
S
3
G
2
Posts: 94
Reputation: 2,402


Return to How do I....?

Who is online

Users browsing this forum: Team EternaL and 26 guests