Very true. He wanted to have the footballs center each time they changed, not add left to right. You could also do it using XY scale. So many different ways.
Original Message:
Sent: 06-19-2023 14:41
From: Azathoth
Subject: How to link the Counter Widget to a quad?
Well, I'm late getting back to the party on this one, but another possible solution (if it is just a row of balls) is have the final graphic with all 8 and use a mask that is repositioned based on the counter to reveal the balls. Simple multiplication.
The counter can also be used to reposition the whole graphic to keep it centered.
------------------------------
Azathoth
Son of Cthulhu
Original Message:
Sent: 06-17-2023 16:05
From: Nik Cramer
Subject: How to link the Counter Widget to a quad?
It worked! Thanks a lot man.
I gave the first greater than allready '1' instead of '0'. That worked!
And one last question; if i want this system but every football is centered like in the picture below. How would I fix that?
------------------------------
Nik Cramer
Original Message:
Sent: 06-17-2023 15:47
From: MalThePal
Subject: How to link the Counter Widget to a quad?
I didn't do any offset. The first value at the top is 0 zero. And it controls visibility of the first football. So if the counter is greater than zero, turn on the first football. Next block is 1. It controls the second football if the counter is greater than 1 turn on football 2. And so on.
Original Message:
Sent: 6/17/2023 3:42:00 PM
From: Nik Cramer
Subject: RE: How to link the Counter Widget to a quad?
Hi Malcom,
Thanks for your help! Great that you took time to make this for me.
But i'm not getting it done. And I don't know where the problem is. Build everything what you send in the photo!
Which value dit you put in the greather than block? And did you put the index offset to another value in the input selector? And is every 0,0 value put to the '0' and every 100 value put to the '1'?
------------------------------
Nik Cramer
Original Message:
Sent: 06-17-2023 12:41
From: MalThePal
Subject: How to link the Counter Widget to a quad?
give this a try. I'm sure there are better ways to do it, but this one gets it done. In the greater than block, I incremented the value by one on each one.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 06-17-2023 11:58
From: MalThePal
Subject: How to link the Counter Widget to a quad?
Let me fire up Xpression and give it a shot.
Sent from my iPhone
Original Message:
Sent: 6/17/2023 9:51:00 AM
From: Nik Cramer
Subject: RE: How to link the Counter Widget to a quad?
Is it possible to do it only with Visual Logic?
------------------------------
Nik Cramer
Original Message:
Sent: 06-17-2023 09:40
From: MalThePal
Subject: How to link the Counter Widget to a quad?
if you are willing to do just a little scripting, this is easy.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 06-16-2023 18:56
From: Nik Cramer
Subject: How to link the Counter Widget to a quad?
I want the number of footballs to match the number of the counter with a maximum of 8.
And all of them next to each other! Hopefully its now a bit clearer.
------------------------------
Nik Cramer
Original Message:
Sent: 06-16-2023 18:14
From: Azathoth
Subject: How to link the Counter Widget to a quad?
Please restate the problem. It sounds like you want 2 footballs when the counter = 1, but 1 football otherwise?
Or do you want the number of footballs to match the number on the counter?
How high will the counter go?
------------------------------
Azathoth
Son of Cthulhu
Original Message:
Sent: 06-16-2023 17:08
From: Nik Cramer
Subject: How to link the Counter Widget to a quad?
Hi all,
I want to build a scene where the Counter Widget is linked to a 'quad'. So if I have a quad which is a football icon and if I use the Counter Widget by 1, there will be two of them. I know in Visual Logic there's a thing called 'Counter' but I don't know how to use it perfectionally. Is there anybody who can help me with this?
Kind Regards,
Nik Cramer
------------------------------
Nik Cramer
------------------------------