Hello !
I was wondering if I could trigger some game event from a DOM element whitch is "outside" of the game itself.
Here's an exemple :
My game will only run in a web browser, I would like to have a text input and a send button to send some text to the game and display it with $gameMessage.add(text_that_have_been_written_inside_input);
Any suggestions ? ☺️
I was wondering if I could trigger some game event from a DOM element whitch is "outside" of the game itself.
Here's an exemple :
My game will only run in a web browser, I would like to have a text input and a send button to send some text to the game and display it with $gameMessage.add(text_that_have_been_written_inside_input);
Any suggestions ? ☺️