How to add ui buttons, switches, and sliders in Uiflow 2.0?
-
Hi,
I recently decided to try out UiFlow 2.0 and noticed there wasn't any buttons, switches, and sliders available in the widgets area for a Core2 device. They are available in the older version of UiFLow. Is this a missing feature in 2.0 or is there some other way of accomplishing this? It's not obvious to me if that's the case. It would be great if someone could post an example if this can be done or just inform if these features are not available yet. I have searched for this online but couldn't find any discussions regarding this. Looking forward to hearing back.
-
@invxblrkl Not available yet.
There are touch count and x/y reading blocks however, so it can be done the long manual way. I just had my own go last week at making touch buttons this way.
Check if touch count went up, and if so check if x/y is within the area you want a button.
I used rect objects on screen to get the coordinates.I'd assume a switch can be done that way by changing the rect background color, or an image you flip between two pngs.
-
Got it! Thanks for the response!