S
squidsRockets
Guest
I am trying to create a simple tower defence game using timelines to control the waves. I would like to stop the timeline at the end of each round and on user input, resume. I have tried multiple ways to do this but I can't get anything to work.
So far I have tried creating an object that sets timeline_running = false (and alternatively timeline_speed = 0) and when the user hits a key, it sets timeline to running (speed to 1) adds 1 to wave and destroys that object. I have also tried stopping from within the timeline by checking if there are enemies remaining.
I have gotten 2 different results. It either does stop correctly but then never resumes, or doesn't stop at all.
Any help is appreciated, this is very frustrating.
So far I have tried creating an object that sets timeline_running = false (and alternatively timeline_speed = 0) and when the user hits a key, it sets timeline to running (speed to 1) adds 1 to wave and destroys that object. I have also tried stopping from within the timeline by checking if there are enemies remaining.
I have gotten 2 different results. It either does stop correctly but then never resumes, or doesn't stop at all.
Any help is appreciated, this is very frustrating.