Results 1 to 15 of 23

Thread: sleep() pause() wait()

Threaded View

  1. #19
    Join Date
    Mar 2009
    Although the original question concerned how to pause the execution of the program, might I suggest a different approach to accomplish your objective. Assuming that your code works, except for delays, you might want to set the CSS on your hexagons (either visibility or display) so that they can't be seen when they're drawn. Draw them all, even though the user can't see them, and then use a procedure like I've shown you to make them visible at intervals. That way you wouldn't really have to modify your existing code to any great extent.

    Just a thought, and I'm glad if I was of some help to you.
    Last edited by Tcobb; 03-16-2014 at 09:53 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center