Announcement

Collapse
No announcement yet.

How do I add an animated (tweened) symbol inside a Scaleform button?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I add an animated (tweened) symbol inside a Scaleform button?

    I'm trying to make a button with a smoky animated effect when you mouse over it. I started by copying the default button. From there I made all the modifications to it that I wanted. But as soon as I try adding tweened motion in the timeline, the button starts going crazy. It flickers and resizes rapidly. Any idea how I should go about adding tweened motion to a symbol in the button's timeline?
    Check out Himeko Sutori, the upcoming tactical RPG where you control armies of over 100 unique characters.

    #2
    Actually, it looks like this flickering/resizing issue happens just by adding a new symbol to the timeline. I don't even have to tween it.

    Edit: OK, narrowing it down further. it's not because I added a symbol. I can add more symbols. It's because I added an object that's too big apparently. It looks like when I mouse over the button, it resizes and becomes really small, which triggers the mouse off, which makes the button its regular size, which triggers the mouse over, which resizes the button and it becomes really small again...
    Last edited by Nathaniel3W; 01-29-2019, 05:27 AM.
    Check out Himeko Sutori, the upcoming tactical RPG where you control armies of over 100 unique characters.

    Comment


      #3
      I solved it. I'll post the solution here in case anyone ever has the same problem and comes across this post. In button.as, I did a search for "resize" and found a section of code that starts with the comment "// Resize and update constraints." I made my own button class and deleted that section of code. It now seems to be working. I hope I didn't break something else that I'll need this button to do.
      Check out Himeko Sutori, the upcoming tactical RPG where you control armies of over 100 unique characters.

      Comment


        #4
        nice to hear that : )
        Some cool unreal projects you may like!


        Developer of GOTA - Survivalism Gladiatorial game Buy the game google gladiators of the arena steam https://store.steampowered.com/app/7..._Of_The_Arena/

        Download the demo Download the demo
        external link Dropbox DropBox

        Become a c++ Professional now C++ Networking Tutorial

        Comment

        Working...
        X