Background video instead of picture (workaround?)

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

    Kapitán

    1582 Posts


  • #11, z Patrick Dean MillerSaturday, 07. January 2017, 12:06 hodinky 8 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 ^^°

    Bažant

    9 Posts

  • #12, z afrlmeSaturday, 07. January 2017, 12:08 hodinky 8 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)


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


    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.

    Imperátor

    7285 Posts

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

    oh, nice one Simon mate. smile

    Imperátor

    7285 Posts