Sprite Set position through Array (and XML) not working correctly
There is a XML file to define first position of each Sprite. An array reads the XML.
Array values seems normal if you check at the debug, and if you write the values to a Text object.
But if you want to use this values at Set positon action they don't work as correctly.
To show the problem i used two similar action.
Attach a Capx
____ Upload a Capx to this post ____
Description of Capx
capx reads a XML file and put some sprites to some coordinates through the values inside XML
Steps to Reproduce Bug
- Just run to see the first version without problem
- Disable the first Sprite set position action
- Enable the second Sprite set position action
- Run again
Sprites are not in correct coordinates
Sprites need to be in correct coordinates
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 8 64 bit
Construct 2 Version ID
Construct 2 Personal edition r 163 (Steam 64 bit)