DE EN FR ES IT CZ

Scroll Factor on Animations?

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 9 years ago
    Is this possible?

    I've animated a windmill that would look pretty slick if it was moving in the background. Would be great to have it paralax with the rest of the scene.

    Using the sliders in effects doesn't affect animation frames, and I haven't been able to find another solution online.

    Cheers!
  2. New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  3. · 9 years ago
    can you bind that animation as object default animation in the object properties and see if it works? 
  4. · 9 years ago
    You can create a simple room object with a single image of the windmill wings and rotate the object endless with a simple easing call:
    https://www.visionaire-studio.net/forum/thread/cool-image-ef...

    Add this snippet to your scene and call it while enter the scene. So the room object with name "wings" starts rotating endless about a specific point (at the moment 1280, 410 - set it to the wing center) with a rotating speed of 1 turn in 3 seconds (3000 ms):
    local objectID = game.CurrentScene.Objects["wings"]
    objectID.RotationCenter = {x = 1280, y = 410}
    objectID:to(3000, {Rotation = math.rad(360)}, easeLinearInOut, true)
    
  5. · 9 years ago
    But I am not sure if this works correct with parallax, but you can try this.
  6. · 9 years ago
    can you bind that animation as object default animation in the object properties and see if it works? 
    This actually worked just fine - can't believe I never saw this option!

    Thank you both smile

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?