Hi!
I'm trying to find a way to retrieve information from the game from within an html window. Imagine I have a bunch of box objects in my world and I want to be able to click a javascript button and get back the number of boxes in the world.
Right now, the only way I know how to do this is to destroy and regenerate the UI entirely. This is not great, because it throws out all the internal state for the window. My real project will have a considerable amount of state contained in javascript and html, and I don't want to have to send all of that back through Topic and then send it back AGAIN while regenerating the window.
Is there some way I can get data from the game into a ui window without scrapping the whole window?
ID:2173637
Nov 15 2016, 9:30 pm
|
|