into a project I’m doing. I would like to know when somebody has completed the puzzle. How can I get those information within the html texture node??
P.S If someone completes the puzzle it counts the persons time and pins it at the bottom. So there has to be a way to access that…what I don’t know is how easy you can access that data
Indeed the DOM is updated at puzzle completion. Have a look at HTMLTexture (EX9.Texture String) helppatch. Also Element split. With a bit of tinkering you should be able to discover when the element is added.
Also in the very same helppatch the isLoading pin stops getting updated when you finish the puzzle. Could be a nice way not only to understand if an user completed the puzzle, but also to retrieve the time needed to complete the image (without delving into html too much). EDIT: obv time thing won’t work, because IsLoading is triggered by dragging the items around.
Thanks h99 for the reply…Indeed the isLoading stops when the user completes the puzzle…in HTML DX11 though its not…weird…in EX9 it doesn’t support html 5?? because I tried this puzzle too https://www.jigidi.com/solve.php?id=8R10ARIH
but I’m pretty sure it doesn’t support it. Any way I’m looking for a solution in DX11. How did you fin out that DOM is updated?? Probably I need that.
Nope, not even remotely. I don’t know how much is reliable http://html5test.com/, but it gives the node a score of 492/555. It’s flash that’s an issue, maybe. Here it’s not installed, so the website asks to switch to html5. I did it, finished and got all the way long the Is Loading pin flashing, although in this case it’s not updating while user does nothing and still hasn’t completed, because there’s no timer.
I can’t get the html dx11 stuff to work, so I can’t help you there. But maybe you can help me to get it working, so I can help you back.
In EX9: The "is Loading pin "
- Flashes while playing
- Flashes at a beat when not playing
- Stops when the user completes the puzzle
In DX11: The “is Loading pin”
- No flash at any point
So basically EX9 gives us more information. Where DX11 none.
The best work pipeline is on the second puzzle in EX9 where it gives us all the information that we need. but we want that in DX11. If we try 64 bit version could make any difference? just thoughts…
Another observation I have is that the patch I’m working on is quite old (a year maybe) and when I’m importing now the HTML DX11 nodes… they are red…But the other ones (the old ones) are working…that’s weird…Need to play more with that…I tried both 86 and 64 version…but still red nodes for “fresh” HTML DX11 nodes and OK for the old ones…
There has been a bad use of words, I was talking about the red nodes: because of that I can’t help.
I suggest you to contact the contributor.
In case you don’t have time (iirc, it’s your permanent condition :D), use dx9 and dx11 in parallel: one for the graphics, one for the loading.