How I do the animation of play and pause button?

Get help using Construct 2

Post » Thu Feb 02, 2017 9:10 pm

You could always put all the code in a while loop.

While(not paused)
Do game logic

Keep the pause button out of the while loop.
B
28
S
8
G
1
Posts: 226
Reputation: 2,865

Post » Fri Feb 03, 2017 12:20 pm

No it won't on pause animation should have IDLE animation where IDLE is just 1 frame. So when you pause you set animation to IDLE that should work. Check this tutorial for animation and how to implement animation in GAME


https://www.scirra.com/tutorials/5367/a ... t-2/page-3
B
255
S
39
G
15
Posts: 1,982
Reputation: 41,005

Post » Fri Feb 03, 2017 6:01 pm

Thanks for reply Tylermon and Sir !
I will check the tutorial.
B
41
S
9
G
1
Posts: 79
Reputation: 2,745

Post » Sat Feb 04, 2017 11:01 am

radhaw if you don't mind just send me your CAPX not all of it just player and pause event. I will take look and see if I can help you PM me
B
255
S
39
G
15
Posts: 1,982
Reputation: 41,005

Post » Sun Feb 05, 2017 10:56 am

Sure Sir, Thanks for the help, I have kept file on below path.

https://www.dropbox.com/s/k1zqymetv75ob ... .capx?dl=0
B
41
S
9
G
1
Posts: 79
Reputation: 2,745

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests