Graphics

 View Only
  • 1.  50/50 update animation

    Posted 01-05-2016 22:34
    Hi all,

    How would I go about triggering an animation on the 50/50 number when the number updates? I want it to scale up then back down (like a popping animation).
    Right now I'm experimenting with Visual Logic and some greater than statements but I'm not too fluent with the coding side of Xpression.
    The 50/50 is Datalinqed to a web based XML file being fed from our 50/50 system.
    Thanks in advance!


  • 2.  RE: 50/50 update animation

    Posted 01-07-2016 13:34
    What do you mean by 50/50 ? Do you have a datalinq that take value like 49/51 - 75/25 and 50/50 ?

    What you can do is to create your popping animation in a new animcontroller, then in script editor of your text object, under "onsettext", if text = "50/50", you do an .getanimcontrollerbyname ; then play it...
    #XPression


  • 3.  RE: 50/50 update animation

    Posted 01-08-2016 22:09
    We do a 50/50 draw with the prize jackpot increasing during the game.
    When the number increases, I want the number to pop larger.
    I'm thinking there must be a way to do a query and say "if the number on the datalinqed xml feed is larger than the number displayed on screen, play the animation and update the displayed number to the number from the xml feed" or something like that.
    #XPression


  • 4.  RE: 50/50 update animation

    Posted 01-08-2016 22:31
    Take a look at this example (from the forum thread called "scoreboard update" which you can search for more info):

    https://ross.brickftp.com/f/89edf2a62

    #XPression


  • 5.  RE: 50/50 update animation

    Posted 01-09-2016 00:58
    Thanks. I will take a look at this project after the game tonight.
    I saw the thread you mentioned but the files were expired. Thanks for uploading.
    #XPression