ycyfiu
April 18th, 2005, 01:45 PM
I want to make a game interacting with the users. Totally suppose I have 10 frames. In each frame I have five buttons to let them click one of them which is correct answer. At the same time, I want to add a 2 seconds time constraint on each frame. The screen should automatically enter the next one either after click the right button or 2 seconds time constraint reaches. How could I to make it.
Acctually, I use mouse
on (release) {
nextFrame ();
}
control the button. Use play() to control each frame and set the frame rate as 0.5. The problem is when I click the button saying in 1 seconds, it jumps to the next one, and the next one frame only gave me 1 seconds rather than 2 seconds for this new frame. How could I deal with it? It seems that the time for object command is counted to the main frame time.
Thanks a lot.
Acctually, I use mouse
on (release) {
nextFrame ();
}
control the button. Use play() to control each frame and set the frame rate as 0.5. The problem is when I click the button saying in 1 seconds, it jumps to the next one, and the next one frame only gave me 1 seconds rather than 2 seconds for this new frame. How could I deal with it? It seems that the time for object command is counted to the main frame time.
Thanks a lot.