How do I timer

Get help using Construct 2

Post » Mon Oct 06, 2014 4:54 am

Lets say you doing a arcade style game and u wanted a 3, 2 , 1 countdown timer to be displayed at the center of the screen before the game starts and you didnt want the player to be able to do anything or pressed any buttons until the countdown was done how would u be able to do that ?
B
11
S
3
Posts: 216
Reputation: 1,279

Post » Mon Oct 06, 2014 5:44 am

You could have the user controls be part of a variable that disables them unless the variable is on and then on start of layout wait 3 seconds and then activate the controls. You could also throw an animation with the count down up on the screen while this is taking place or just use a text object as part of a global variable that subtracts 1 every second.

Lemme see if I can throw together a simple demo of what I'm thinking.
B
12
S
4
G
2
Posts: 132
Reputation: 1,749

Post » Mon Oct 06, 2014 5:49 am

okay ill try your variable method and for the animation with the count down you was saying that mean ill have to create some graphics with numbers in correct or i guess the simple way would be to use the text object like you do for Score
B
11
S
3
Posts: 216
Reputation: 1,279

Post » Mon Oct 06, 2014 5:52 am

Ok, I bet there is a much cleaner way to do this but I thought it was worth a look to get the idea down. You will need to change how you want the timer to start but the example I created is a really rough example made in under a minute.

Good Luck! :D
You do not have the required permissions to view the files attached to this post.
B
12
S
4
G
2
Posts: 132
Reputation: 1,749

Post » Mon Oct 06, 2014 6:03 am

That was pretty cool thanks but say for instance you wanted a more graphical number font lets say something you made in a artwork program where the numbers looked more cool with some style to it can i add that in c2
B
11
S
3
Posts: 216
Reputation: 1,279

Post » Mon Oct 06, 2014 10:41 am

you could do it like this
You do not have the required permissions to view the files attached to this post.
B
245
S
39
G
15
Posts: 1,945
Reputation: 40,264

Post » Mon Oct 06, 2014 12:52 pm

Thanks guys, this is helpful.
B
8
S
1
Posts: 90
Reputation: 644

Post » Mon Oct 06, 2014 5:54 pm

I appreciate you guys!
B
11
S
3
Posts: 216
Reputation: 1,279


Return to How do I....?

Who is online

Users browsing this forum: vegapomme27 and 10 guests