Graphics

 View Only
Expand all | Collapse all

"Shot Clock" Change Font color

  • 1.  "Shot Clock" Change Font color

    Posted 01-09-2017 12:43
    I do have a datalinq from the scoreboard and I want to change the shot clock color from White to Yellow @ 10seconds and the from Yellow to Red @ 5 seconds. Any help on how?

    thanks,
    john


  • 2.  RE: "Shot Clock" Change Font color

    Posted 01-09-2017 21:06
    Visual Logic! See the attached picture.
    #XPression


  • 3.  RE: "Shot Clock" Change Font color

    Posted 01-10-2017 12:58
    garner,
    I almost have it, but I'm not clear on what/how to make the Do I just make Materials in the color I want and not new Font's? How do that change the font color? When I tried it the Shot Clock Text is keeping the font color of the font and not the Material

    (WhiteMaterial Material), (YellowMaterial Material) and (RedMaterial Material) and then the last (Scoreclock Faces.face)

    Also would I start it with the dataliq link into the (Scoreclock Text)?

    Thanks
    #XPression


  • 4.  RE: "Shot Clock" Change Font color

    Posted 01-10-2017 14:33
    I used regular materials and applied it to font face. You could also do it using different fonts but I think it's easier with the regular materials.

    You can either Datalinq your shotclock to a text object and then use that text object in Visual Logic, or you could drop a datalinq block into visual logic and tie that to a text object. Either way will work.
    #XPression


  • 5.  RE: "Shot Clock" Change Font color

    Posted 01-10-2017 17:44
    garner,
    that seems to be my problem. How is it that I can apply the materials to the font face?
    many thanks for the support and help!

    #XPression


  • 6.  RE: "Shot Clock" Change Font color

    Posted 01-10-2017 18:15
    Fonts have 5 font materials (Face, Border, Stroke, Neo & Shadow). Fonts also have 5 faces (Face, Border, Stroke, Neo & Shadow). Faces can have global materials applied to them. So you can set the font material of Border to be Red and then apply a blue Global Material to the Border's face - you'd end up with the border being Blue, because the material on the face is on top of the font material.

    A little confusing but intentional to allow for huge flexibly.

    In Visual Logic the Font Material are a little hard to use because the names don't carry through right now. So I find it easier to apply a Global Material to a face of the font. Like I did in the above example.

    Here's a copy of my project so you can see what I did: https://transfer.rossvideo.com/f/c80b2cf66


    #XPression


  • 7.  RE: "Shot Clock" Change Font color

    Posted 01-10-2017 19:50
    All good many thanks

    #XPression


  • 8.  RE: "Shot Clock" Change Font color

    Posted 04-03-2017 22:40
    This solution is elegant in it's simplicity. My hat goes to Garner for this one. I had to actually build it so I could wrap my head around it. Well done. This one stays in the file of future uses.
    #XPression


  • 9.  RE: "Shot Clock" Change Font color

    Posted 08-10-2018 19:19
    Hey guys. This is a great solution and it works great for the shot clock. I am trying to see if I can add it to the regular clock (in case I am at a gym without a datalinq scoreboard connection) but having trouble converting it to time format. Any thoughts?
    #XPression


  • 10.  RE: "Shot Clock" Change Font color

    Posted 08-13-2018 15:06
    Are you using the Clock Block in Visual Logic?
    If you select the block in visual logic you can modify it's format in the "Properties" module at the bottom of the "Visual Logic Editor" window.
    #XPression


  • 11.  RE: "Shot Clock" Change Font color

    Posted 08-13-2018 17:03
    Are you using the Clock Block in Visual Logic?
    If you select the block in visual logic you can modify it's format in the "Properties" module at the bottom of the "Visual Logic Editor" window.

    Thanks for getting back to me Garner. I have included a picture that shows the "Properties" module and I don't have that option. I even tried the "Value" blocks.
    #XPression


  • 12.  RE: "Shot Clock" Change Font color

    Posted 08-13-2018 17:07
    That's a regular text block, so it wouldn't have any properties.
    I assume that text block is assigned to a Clock Widget? Have you tried adjusting the formatting of your clock widget?
    Or you could use a Clock Block and then feed that into your text block.
    #XPression


  • 13.  RE: "Shot Clock" Change Font color

    Posted 08-13-2018 21:09
    Yes you are correct. I just realized I wasn't trying it on the project that didn't have the datalinq in it and therefore the box is only a text box (Silly me). Beginner at XPression and missing steps. Thanks for your help.
    #XPression