Hello (excuse my english),
How do i have variable from an external file ?
I want to assign a variable construct with an external variable in a file or other means ...
An idea ?
Thank you.
Develop games in your browser. Powerful, performant & highly capable.
Many ideas, project files, ajax, filechooser, among others..
If you could explain more clearly what you'd want to do, it would be easier to advise you on the right way for you..
Ok,
take for example the variable 7 on my server in a file.
I want to recover the variable 7 and assign it to a global variable of my game of construct.
Have you looked at the Ajax object?
Ok i looked Ajax and the documentation but...
But how to do it ?
there is no way to make it simpler to retrieve an external variable ?
I think the XML object is more appropriate I'll see.