how to animate my character on the tip of the abyss

Get help using Construct 2

Post » Thu Sep 04, 2014 6:06 am

Hello people :D :D :D :D
how to animate my character to be positioned at the tip of the abyss
I anchored my sprite animation platform to behavior
any way to do.
B
8
S
1
Posts: 34
Reputation: 420

Post » Thu Sep 04, 2014 6:26 am

Could you explain what you mean by this?
What is the character supposed to do exactly?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Sep 04, 2014 7:07 am

platform game and I want to show my character animation just before the end of the road do as you are going to fall
B
8
S
1
Posts: 34
Reputation: 420

Post » Thu Sep 04, 2014 7:07 am

I don't understand your question? Please explain with details
B
257
S
42
G
15
Posts: 1,991
Reputation: 41,411

Post » Thu Sep 04, 2014 7:19 am

I guess you want to play an almost falling animation when your character is close to the edge of something..

You would need a way to detect if this is the case, by either using something like overlapping at offset or, maybe easier, using an invisible sprite to detect it..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Sep 04, 2014 7:19 am

edit: Wow, I left the reply window open for a while, came back to type up a response, and when I submitted it, there were a bunch of other replies ahead of me all of a sudden. :D

Not sure if I'm interpreting this correctly, but it sounds like you're asking how you can have a platform game character change to a special "edge wobble" animation when they are standing on the very edge of a drop-off, Sonic the Hedgehog style.

For example...
Image
Image

This can be done either with detector objects, or with the condition "is overlapping at offset".

Detector objects
You can have two objects that "hover" to either side of your character's feet, sitting just below ground level. If you walk over to an edge, one of the detector objects will no longer be overlapping the ground. You can use a condition to check for that and then switch to the edge wobble animation.

Is overlapping at offset
You can use the condition "is overlapping at offset", and specify an offset that would shift the character off the edge and slightly downward before checking for the overlap. If the the player is not overlapping any ground, then they are standing at the edge of a drop, and you can then switch to the edge wobble animation.

Hope this helps. :)
B
28
S
18
G
8
Posts: 333
Reputation: 6,193

Post » Thu Sep 04, 2014 7:31 am

:) :) :) That is correctly
I helped a lot
thank you very much to all for your time
some example
B
8
S
1
Posts: 34
Reputation: 420


Post » Thu Sep 04, 2014 12:02 pm

No problem :)
B
28
S
18
G
8
Posts: 333
Reputation: 6,193


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests