1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

convert currentTick to make 'wave' value

Discussion in 'Development' started by benda95280, May 17, 2020.

  1. benda95280

    benda95280 Witch

    Messages:
    53
    GitHub:
    benda95280
    Hello,

    Is there any way to do something like that using tick ?
    [​IMG]

    Thanks
     
  2. Marabou

    Marabou Baby Zombie

    Messages:
    137
    GitHub:
    wiligangster
    What do you mean by getting wave value ?
     
    Last edited: May 18, 2020
  3. iBa4x

    iBa4x Spider Jockey

    Messages:
    32
    GitHub:
    iBa4x
    I think there is way to do that and that..
    when time reaches the highest value let $time-- and
    if it reaches the lowest value let $time++
    I hope that is helpful :)
     
  4. benda95280

    benda95280 Witch

    Messages:
    53
    GitHub:
    benda95280
    Wind, Item rotation or 'cloud effect' ...

    Thanks for your idea, i've already implemented something like this here :
    https://github.com/benda95280/Spherable/blob/master/src/Ad5001/Spherable/Main.php#L72
    But i don't know if it's the right way, and it's not 'nice' to see ...
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.