How do I Read a message from a javascript code

Get help using Construct 2

Post » Thu Oct 20, 2016 8:09 am

Hi there.
I would like to read a message sent from a html javascript code and written as such :

Code: Select all
"message": '{"c2dictionary":true,"data":{"action":"joystick_start"}}'


But I can't seem to find a good solution to do so.
Here is how I tried (multiple different way) to display the message :

Image

But nothing appears :(
halp please !
Have a good day :)
B
7
Posts: 29
Reputation: 331

Post » Thu Oct 20, 2016 8:48 pm

Am I supposed to load the json in an array and then do something ? Doesnt seem to work for me either way :(
B
7
Posts: 29
Reputation: 331


Return to How do I....?

Who is online

Users browsing this forum: luck1210, RedBlackSpade and 7 guests