How do I Resize Animation that is linked to a character

Get help using Construct 2

Post » Sun Jan 08, 2017 1:01 pm

I have small issue with one animation that triggers when player jumps on top of Enemy.

So I have a Bee (Enemy) and inside that Bee I have animation called "Poof", so the "Poof" FX itself 120x120px but the Bee is scaled to 60x60px. So when I play this "Poof" this animation becomes also 60x60px how do I increase the size of this FX without increasing the size of the Bee?

Thank You.
B
14
S
2
Posts: 21
Reputation: 744

Post » Sun Jan 08, 2017 1:06 pm

@foxium

So the bee flies around? When does the 'poof' animation play? When the bee lands on something or when the bee is destroyed?
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Sun Jan 08, 2017 1:09 pm

jeffige wrote:So the bee flies around? When does the 'poof' animation play? When the bee lands on something or when the bee is destroyed?


When the Bee is Destroyed.
B
14
S
2
Posts: 21
Reputation: 744

Post » Sun Jan 08, 2017 1:11 pm

@foxium

Separate the animations. Add the 'poof' animation by itself.

EVENT Bee on collision with (whatever kills it) ACTION 1 Bee Destroy ACTION 2 Bee Spawn Poof on layer X (image point 0)

Then there's no need to resize.


*edited - sorry been up all night
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Sun Jan 08, 2017 1:38 pm

This is what I have, not sure what I am doing wrong, but with this Animation not working. I used Fade instead of Destroy, and with fade it was kind working but with animation in same container.

Image
B
14
S
2
Posts: 21
Reputation: 744

Post » Sun Jan 08, 2017 1:47 pm

@foxium
How long is your fade? Is it on the bee?

Are you trying to make it work like i suggested?

Move the poof up, under the bee > destroy.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Sun Jan 08, 2017 2:11 pm

jeffige wrote:@foxium
How long is your fade? Is it on the bee?

Are you trying to make it work like i suggested?

Move the poof up, under the bee > destroy.


If I Move under the Bee, before Destroy nothing happens. Bee gets destroyed but no animation is playing.

Fade is inside the Bee Behavior. Wait time is zero and Fade Time is 1.
B
14
S
2
Posts: 21
Reputation: 744

Post » Sun Jan 08, 2017 2:40 pm

Someone with a bit more experience may know, but i don't think it's gonna work with the poof animation inside the bee.

Best to just delete that poof animation and add it as its own object...


Image
B
38
S
18
G
19
Posts: 664
Reputation: 14,107


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 45 guests