Is there a tween lib?

About Monkey 2 Forums Monkey 2 Programming Help Is there a tween lib?

This topic contains 5 replies, has 6 voices, and was last updated by  Gwenel 7 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15307

    Ratchet
    Participant

    I’m searching for a tween library for M2, something like this -> https://github.com/kikito/tween.lua

    Does something similar exist in M2?

    #15309

    scurty
    Participant

    Well it seems a lot of the math is already referenced in that Lua library you shared. It shouldn’t be that hard to translate it to raw Monkey.
    Plus, check out the ToyPlane demo, and the Quatf.Slerp() function. Might help a lot. Just my two cents, would agree to have tweening integrated into the Geometry lib that monkey comes with. Or just a 3rd party lib. The math is already there…

    #15312

    DruggedBunny
    Participant

    There’s BlitzMax code here, ported from Monkey (1)…

    Tween/Easing

    Should be very easy to translate to MX2.

    Looks like it originally came from here, but the stripped-down all-in-one BlitzMax code is ironically probably easier to work with.

    #15319

    cocon
    Participant

    I think that timelinefx and diddy2 frameworks have. You can find them on github.

    #15323

    therevills
    Participant

    Diddy2 has tween calculations in its math file, not a full tween engine.

    https://github.com/therevills/diddy2/blob/master/math.monkey2

    #15345

    Gwenel
    Participant

    We’re creating a Monkey2 lib for motion tweening as we speak it like, and would gladly share it when it is finished 😃

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.