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

Get help using Construct 2

Post » Wed Sep 14, 2016 3:14 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.

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

Do I have to set the player animation to every posible object the player could be on top or is there an easiest way?

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

Post » Thu Sep 15, 2016 12:13 am

I think there's probably a more elegant solution to this, but, harkening back to how I used to do it in another game creator engine...

Basically just have a hidden Edge object that's placed on the edges of platforms (either by hand or script). If Player is standing near it/intersecting it/whichever trigger you want to use, play teetering animation.

I haven't really thought on it much since so that's all I have.
B
53
S
24
G
18
Posts: 295
Reputation: 13,115


Return to How do I....?

Who is online

Users browsing this forum: Hassan Hackmi and 7 guests