Background video instead of picture (workaround?)

  • #10, by SimonSSaturday, 07. January 2017, 11:59 5 years ago
    The next version can overlay videos via lua.

    Thread Captain

    1460 Posts


  • #11, by Patrick Dean MillerSaturday, 07. January 2017, 12:06 5 years ago
    The next version can overlay videos via lua.

    AH! NICE ! Well I will have to work with what I got until then I guess ^^°

    Newbie

    9 Posts

  • #12, by afrlmeSaturday, 07. January 2017, 12:08 5 years ago
    Aye, I see them.

    You could animate each one individually. You don't technically have to animate their movement around the menu screen either, as you can move animations easily with a line of Lua script. The same goes for rotation too.

    ActiveAnimations["anim_fly1"]:to(1000, { AnimationCurrentPosition = {x = 500, y = 300} }, easeQuintInOut)
    1


    game.CurrentScene.SceneObjects["obj_fly1"]:to(300, {Rotation = math.rad(-45)})
    1


    Obviously you would need some tables & additional stuff to pull information from & a loop to control when to force flying wings frame & when to be idle & so on, but entirely possible without having to animate the entire thing as one massive animation.

    Imperator

    7008 Posts

  • #13, by afrlmeSaturday, 07. January 2017, 12:08 5 years ago
    The next version can overlay videos via lua.

    oh, nice one Simon mate. smile

    Imperator

    7008 Posts