Graphics

 View Only
  • 1.  Penalty Kicks Dashboard and Xpression

    Posted 09-25-2023 14:04

    Hi all. I'm brainstorming here about how to approach Dashboard and Xpression for end of game Penalty Kicks. 

    On the graphic side for Xpression, I'm thinking a material "penaltyUntaken" from a PSD file that is basically a white circle with an alpha background. Then I just duplicate that material and change the color to red, and name the material "penaltyMissed", and green will be "penaltyMade." In my Penalty scene, I make a slab for AwayPen1 and duplicate that for 2-5 and place them appropriately, and same for HomePen1-5. Initially, the material "PenaltyUntaken" is applied, but it will change based on the Dashboard parameters. That's my design. I have some visual logic to get back to after I discuss the Dashboard side, but that is basically it.

    Dashboard is a where I'm struggling. Right now, all I can think to do is make a frame that holds the PKs. I'm not really sure which Parameter to use here. At this point in time I'm thinking I have to use a Choice Parameter, AwayPen1, with 3 options, Pre, Made, and Miss, like in the attachment. It seems rather wasteful with space to have 5 of those for each team, but that's all I can think of. Next, I think I want to write a script to check if the parameter changes to the Made state. If that is true, then add 1 to a numeric up/down for running Made Total. Finally, I will add ExtraPens button, that will reset all of the AwayPen and HomePen Choice Parameters back to Pre, but will leave the NumericUpDowns for both Away and Home at their current value.

    Finally, I will setup some Visual Logic in Xpression to 10 hidden text items, AwayPen1Hidden, HomePen1Hidden, AwayPen2Hidden, HomePen2HIdden,... These text items will be setup to Datalinq to the Dashboard AwayPen1, HomePen1, AwayPen2, HomePen2, etc. Then I can use Input Selector to determine which state each parameter is in and set the material appropriately Pre (Numeric value:0) = penaltyUntaken (white circle), Made (Numeric value:1) = penatltyMade (green circle), and Miss (Numeric value:2) = penaltyMissed (red circle).   

    This is my idea. I am open to suggestions for improvements, especially on Dashboard space with those Choice Parameters, and any other ideas. I think this is how most Soccer PK graphics look, but if I'm forgetting something, please advise. I will check back in and post my progress in case anybody in the future wants to reference for their show. Thanks.

     



    ------------------------------
    Roger Heyward
    ------------------------------


  • 2.  RE: Penalty Kicks Dashboard and Xpression

    Posted 09-28-2023 12:15

    I don't really have a better option for you, did you ask in the dashboard section? 



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------