How I do animation play next and previous by a click mouse

Get help using Construct 2

Post » Thu Jun 09, 2016 7:39 pm

Hi Developer
I has a problem. I want to play animation by click mouse one click for play one frame. I have 12 frames of animation and 2 button Next and Previous. My problem is I want animation play frame one by once Next button clicked and play frame two when I click Next button again and so on but when i click Previous btn animation play from current frame -1. How I can do this. Please help Thank you a lot.
B
7
S
3
Posts: 14
Reputation: 607

Post » Thu Jun 09, 2016 7:52 pm

hi, try this
on click set animation frame = current animation frame +1 or -1
B
18
S
7
G
1
Posts: 56
Reputation: 3,000

Post » Thu Jun 09, 2016 9:12 pm

That, and set the animation speed on zero.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Jun 09, 2016 9:16 pm

dieblume86 wrote:hi, try this
on click set animation frame = current animation frame +1 or -1

Thank you so much it work for me
B
7
S
3
Posts: 14
Reputation: 607


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, jatoblendy and 30 guests