How do I trigger a next-to-edge animation?

Get help using Construct 2

Post » Wed Sep 14, 2016 3:30 pm

So I want to make an animation to use whenever you're near the edge of a platform, floor, or whatever solid you're sitting on top, kinda like you're lossing your stability. We're talking about a 2D simple platformer.

The problem is not creating the animation, is the triggers.

How do I set the triggers for this? Can't come up with proper events to make it happen.

Thank you!!
B
14
S
5
Posts: 248
Reputation: 1,705

Post » Wed Sep 14, 2016 4:00 pm

Place helper objects on the corners ? On overlap .. play ..

In this post the placing of those helpers is automated.
how-do-i-populate-an-scene-with-objects_t178449
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Sep 14, 2016 4:13 pm

Another solution : https://cdn.discordapp.com/attachments/ ... order.capx
Use arrows to move the character.
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Wed Sep 14, 2016 8:03 pm

99Instances2Go wrote:Place helper objects on the corners ? On overlap .. play ..

In this post the placing of those helpers is automated.
how-do-i-populate-an-scene-with-objects_t178449


That would be a great idea if it wasn't such a pain to place it all over a level, for each level, for each solid.
B
14
S
5
Posts: 248
Reputation: 1,705

Post » Wed Sep 14, 2016 8:20 pm

It can be automated with 1 included event sheet. Did you see the post i linked to ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Sep 14, 2016 10:27 pm

What doesn't suit you in my example?
B
12
S
7
G
7
Posts: 450
Reputation: 4,276

Post » Tue Sep 20, 2016 9:52 am

Coin-coin le Canapin wrote:What doesn't suit you in my example?


I can't trigger those events. My "ground" is a whole level tilemap that includes also walls.
B
14
S
5
Posts: 248
Reputation: 1,705


Return to How do I....?

Who is online

Users browsing this forum: Felipiwi, Yahoo [Bot] and 22 guests