Author Topic: Issue with animate2 module and delay  (Read 279 times)

markc74

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Issue with animate2 module and delay
« on: December 12, 2019, 01:19:50 AM »
Hi guys - it's been a while since I've messed around with Attract Mode but got the bug again and am working on a new layout for a micro build I've nearly finished.

Anyway - What I'm *trying* to do is slowly scroll a menu bar off the top of the screen after 3 seconds. This is the line of code I am using:

PropertyAnimation(menu).key("y").from(0).to(-80).delay("3s").duration("5s").easing("ease-out-circle").play();

I don't actually want it to take 5 seconds to scroll out - I'm just using that to demonstrate the problem I am having. Basically the bar stays exactly where it should for 3 seconds, but then immediately moves near to the top of the screen and then slowly scrolls the rest away over 2 seconds. It's as if the animation is starting at the same time as the delay (but not visible) and then jumps to the 3 second point of the animation and completes it.

Any ideas? Am I being an idiot?

Kasey00

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Issue with animate2 module and delay
« Reply #1 on: February 02, 2020, 08:03:00 AM »
Hi guys - it's been a while since I've messed around with Attract marriott msg Mode but got the bug again and am working on a new layout for a micro build I've nearly finished.

Anyway - What I'm *trying* to do is slowly scroll a menu bar off the top of the screen after 3 seconds. This is the line of code I am using:

PropertyAnimation(menu).key("y").from(0).to(-80).delay("3s").duration("5s").easing("ease-out-circle").play();

I don't actually want it to take 5 seconds to scroll out - I'm just using that to demonstrate the problem I am having. Basically the bar stays exactly where it should for 3 seconds, but then immediately moves near to the top of the screen and then slowly scrolls the rest away over 2 seconds. It's as if the animation is starting at the same time as the delay (but not visible) and then jumps to the 3 second point of the animation and completes it.

Any ideas? Am I being an bluestacks idiot?

Basically, if you haven’t generated interest in 15 seconds, then you probably aren’t going to.

How do you do that? Let’s take a look at some major reasons why people leave a website and, of course, how you can capture their attention instead.
« Last Edit: February 03, 2020, 11:01:29 PM by Kasey00 »