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
How do I add a newline built into XML?
I'm wanting to make a preset list without having to make many text objects or worry about Word Wrap.
Develop games in your browser. Powerful, performant & highly capable.
Use a custom string to mark newlines in the text inside the XML. I used "\n\". When retrieving the text from the XML I used replace() to replace all instances of "\n\" with newline (without quotes around the newline).