how to make a deaccelerating BukkitRunnable?

Discussion in 'Plugin Development' started by freedaddy, Feb 2, 2021.

Thread Status:
Not open for further replies.
  1. Offline

    freedaddy

    I am trying to make a roulette spinning GUI, and I want it to deaccelerate slowly.
    is there any way to do this?
     
  2. Offline

    Kars

    Have a runnable that takes an integer as property. In the run method, 'deaccelerate' and schedule a new instance of itself to run in <integer / 2> (for example).

    Or you could just schedule a bunch of tasks all at once that set the speed of the thing at the desired times.
     
Thread Status:
Not open for further replies.

Share This Page