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
This is the code that runs it, and it outputs nothing.
<?xml version='1.0' ?> <LevelData> <level id='-2' layout='1-1'>Test Level One</level> <level id='1' layout='1-2'>Test Level Two: Electric Boogaloo</level> <level id='3' layout='1-3'>Test Level Three: The Direct To Video</level> <level id='7' layout='1-4'>Test Level Four: The Prequel</level> <level id='10' layout='1-5'>Test Level Five: The Spin-Off</level> <level id='12' layout='1-5'>Test Level Six: The Christmas Special</level> <level id='16' layout='1-6'>Test Level Seven: The Television Series</level> <level id='21' layout='1-6'>Test Level Eight: The Reboot</level> </LevelData>[/code:1qoyydsi] This is the XML itself. No matter what "Node" I set the player to (on xml sheet or not) it outputs nothing. The text is supposed to be text, and the layout is supposed to just point to a layout. How am I doing this wrong?
Should work. Are you sure CurrentNode is correct/valid? Just try hardcoding 3 for now to see if it works.
I tried that, it didn't do anything, strange...
Are you sure AJAX.LastData contains actual data ? (i.e. is it really loading your file ?)
Develop games in your browser. Powerful, performant & highly capable.
Debugger says AJAX has it in it's Last data.
http://www.blackhornettechnologies.com/ ... lData.capx