Wait a time

For questions about using Classic.

Post » Sun Apr 25, 2010 11:54 am

Sorry by my English, but I'm from Spain. How can I wait a time?
I want to say.... Mmmmm...
I want that when you press de space bar, a sprite turns visible, and then waits 1 second before you can do it again.
B
1
G
2
Posts: 2
Reputation: 629

Post » Sun Apr 25, 2010 1:15 pm

Here you are :


:)
B
2
G
3
Posts: 15
Reputation: 1,207

Post » Sun Apr 25, 2010 7:53 pm

Id post a cap of the function object, but so often the new users are using the stable, and I have at the moment is the latest unstable.
Any way there should b something on the wiki about it.
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Tue Apr 27, 2010 2:25 pm

There is a wait object now.

The above solution in the screenshot of doesn't work, as I used it extensively and it screwed up the timing.

It never stops counting that 1000 ms, so turning invisible could happen 5 ms after pressing Space if 995 ms have elapsed on the internal clock.
B
2
S
1
G
3
Posts: 43
Reputation: 1,086

Post » Tue Apr 27, 2010 4:19 pm

[quote="GoldMatenes":q3lkphgy]There is a wait object now.

The above solution in the screenshot of doesn't work, as I used it extensively and it screwed up the timing.

It never stops counting that 1000 ms, so turning invisible could happen 5 ms after pressing Space if 995 ms have elapsed on the internal clock.[/quote:q3lkphgy]

Oh okay, i didnt notice that ! Thank you and sorry for my bad answer ! :(
B
2
G
3
Posts: 15
Reputation: 1,207


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests