How do I Set a landing animation

Get help using Construct 2

Post » Mon Aug 03, 2015 10:49 pm

Hello,

while using and making a simple platformer, i would like now to put advenced features on it,

and i'm stuck with landing animation,
in unity i can check raycasting to calculate distance with ground to start landing animation,

but in construct2 how is it doable?
B
16
S
3
Posts: 106
Reputation: 1,408

Post » Tue Aug 04, 2015 3:00 am

blackant wrote:Hello,

while using and making a simple platformer, i would like now to put advenced features on it,

and i'm stuck with landing animation,
in unity i can check raycasting to calculate distance with ground to start landing animation,

but in construct2 how is it doable?


Events: Platform on landed --> actions: set animation
B
9
S
3
Posts: 142
Reputation: 1,108

Post » Tue Aug 04, 2015 8:58 am

i already tryed this, but i have 2 problems

on landed, the animation start /play stop/ and don't exit to others action
or
on Landed, skip the animation and directly goes to walk, idle run animations...
B
16
S
3
Posts: 106
Reputation: 1,408

Post » Tue Aug 04, 2015 5:45 pm

blackant wrote:i already tryed this, but i have 2 problems

on landed, the animation start /play stop/ and don't exit to others action
or
on Landed, skip the animation and directly goes to walk, idle run animations...


add more conditions like "X is on floor" (right click and select invert) etc... and check your collision polygons, i use an empty sprite over my character to avoid problems like wrong animations etc..
B
9
S
3
Posts: 142
Reputation: 1,108


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests