How do I make progress bar count down smooth ?

0 favourites
  • 4 posts
From the Asset Store
Progress\Loading Bar. Now Load you game like a Professional.
  • hii everyone i am working on quiz game i which user have 13 seconds to answer the question .

    To show the countdown i am using progress bar with max value of progress bar with 13 and with every second pass progress bar set to next value

    e.g=> if early it is 13 then after one second it will become 12 then after 11

    13

    |||||||||||||||||||||||||||||||||||||||||||||||||

    12

    |||||||||||||||||||||||||||||||||||||||||||

    11

    ||||||||||||||||||||||||||||||||||||

    progress bar is behave like this..

    i thinking how can i make progress bar smooth

    13

    ||||||||||||||||||||||||||||||||||||||||||||||||||

    |||||||||||||||||||||||||||||||||||||||||||||||||

    ||||||||||||||||||||||||||||||||||||||||||||||||

    |||||||||||||||||||||||||||||||||||||||||||||||

    ||||||||||||||||||||||||||||||||||||||||||||||

    |||||||||||||||||||||||||||||||||||||||||||||

    ||||||||||||||||||||||||||||||||||||||||||||

    |||||||||||||||||||||||||||||||||||||||||||

    12

    ||||||||||||||||||||||||||||||||||||||||||

    |||||||||||||||||||||||||||||||||||||||||

    ||||||||||||||||||||||||||||||||||||||||

    |||||||||||||||||||||||||||||||||||||||

    ||||||||||||||||||||||||||||||||||||||

    |||||||||||||||||||||||||||||||||||||

    ||||||||||||||||||||||||||||||||||||

    |||||||||||||||||||||||||||||||||||

    11

    ||||||||||||||||||||||||||||||||||

    any one can help me thanks

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I saw that you will need 8 steps to decrease the progress bar 1 second.

    So my solution is:

  • Instead of "Every 1 second Set progressBar progress to (progressBar.progress-1)" use "Every tick Set progressBar progress to (progressBar.progress-dt)"

  • thank you .. dop2000 and Maverick1912

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)