Jump to content
Search Community

danrostron

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by danrostron

  1. Hi, I'm facing the same problem now in that calling 'disable' onThrowEnd is not allowing the throwProps to work. I'm using a later version than 0.10 though, I'm on 0.13 - is there a new way to stop this problem in the latest code?

     

    Thanks

    Dan

  2. Hi Diaco

     

    Here you go - 

    See the Pen MYNdWa by danrostron (@danrostron) on CodePen

    .

     

    If you spin the Throw me box, you will see 'endValue' being logged in the console. Every time you spin, the value is being incremented. I need to somehow reset this value after the spin is complete. Currently, the only way I can think to do this, is by recording the history in a seperate var and deducting this off the new endValue every time a spin occurs.

     

    I just wondered if there was a better solution than this?

     

    Thanks

    Dan

×
×
  • Create New...