Hi, everybody!
I've played around a little with the (built-in) HTML Element, and it's absolutely the best way to handle UIs and menus in Construct. You can make logical layouts, position and format elements with ease, and intuitively read out variables as they change.
But.
I can't figure out how you're supposed to take input FROM elements and feed them TO the game logic. For example, say you have an element representing a sound menu, and a few lines in is a volume slider. When a user moves the slider, it should change a "volume" global variable.
I keep thinking there should be a "get attribute" expression, where you specify the attribute and selector to get back the value as a string. (Imagine the inverse of the "set attribute" action.) The best I've been able to do so far is having a separate form object and setting it focused when a particular HTML ID is clicked, but that's too janky for anything but internal tools.
Does anybody know if this is possible right now, and if so, how it's supposed to work?
Thanks ahead of time!
Caleb