How to get animations work correctly

Just started using Construct 2? Post your questions here

Post » Sat Dec 06, 2014 11:54 am

Putting this in beginner section since it's probably something very basic (couldn't find the solution from google).

I'm working on a platformer game and I have "Glide" and "Double Jump" animations made for my character.

I've gotten both work except with a few problems:

Image

1. Having my "Glide" animation trigger on "Key X down" makes the animation trigger every tick so only first frame is shown.
2. Currently, "DoubleJump" animation plays on every jump, I would like it to play only on the double jump.

Tried several things already but can't seem to get either work correctly :(
B
12
S
4
G
1
Posts: 62
Reputation: 973

Post » Mon Dec 08, 2014 1:20 am

Glide: try adding another condition : on X down and animation glide is not playing >> play glide
double jump: try placing your double jump event before (above) the simple jump
Image
B
60
S
14
G
6
Posts: 271
Reputation: 12,278

Post » Mon Dec 08, 2014 4:40 pm

danuyos wrote:Glide: try adding another condition : on X down and animation glide is not playing >> play glide
double jump: try placing your double jump event before (above) the simple jump

Tried adding another condition under 'X down' and having it as a sub-event but neither work and it still replays it from frame 1 every tick despite checking that the animation is already playing. Odd.

As for the double jump problem, swapping the events just makes it do normal jump twice.
B
12
S
4
G
1
Posts: 62
Reputation: 973

Post » Tue Dec 09, 2014 3:08 am

capx?
Image
B
60
S
14
G
6
Posts: 271
Reputation: 12,278


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest