Wait a time but without repetition and other questions

For questions about using Classic.

Post » Tue Apr 27, 2010 7:56 pm

Hello. I have some questions. Thanks all. Sorry by my English.
1.How can I wait a time? I want to say, I set rate of particles from 0 to 200, then I want to wait 2000 miliseconds, and then I want to set rate to 0.
2.I have a sprite, and I want to move it to right a given distance, then I want that it returns to left and then restart.
3.This is difficult, but... You can connect with a MySQL database online?
THANKS.
If you don't understand something say me. Because my English level isn't too good.
B
1
G
2
Posts: 2
Reputation: 629

Post » Wed Apr 28, 2010 12:58 pm

I can only help you with the first question. Try to do this with a function object.
For example:
+ Start of layout
-> Set particle rate to 200
-> Call function "particles" after 2000 ms
+ On function "particles"
-> Set particle rate to 0
B
7
S
1
G
2
Posts: 87
Reputation: 1,099

Post » Wed Apr 28, 2010 4:43 pm

@2: Take a look at the Sine behaviour. On the forum you will find a nice tutorial cap for it.

@3: I would say you will have to reach for an external python library to do that I think. I do not know if you can do it with the HTTP object or something else.
B
2
G
2
Posts: 23
Reputation: 696

Post » Fri Apr 30, 2010 3:25 am

I tend to agree about having a look at the Sine behavior for #2
B
4
G
3
Posts: 22
Reputation: 944


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests