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
Our educational partners
Free education resources to use in the classroom
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 ?
Thank you.
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 ?
Develop games in your browser. Powerful, performant & highly capable.
I think the XML object is more appropriate I'll see.