Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
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 ?
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..
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?
Develop games in your browser. Powerful, performant & highly capable.
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.