Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
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 ?
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..
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.