Ask here your questions to get help using GDevelop.
By Chris_P_Cream
#65992 Hello,

I'm having trouble using a structured file to save the top 3 high scores from a scene. Every time the scene is run, the values are being written in the XML separately. In other words, instead of overwriting the existing scores, it just creates a separate set of scores. I can't figure out what I'm doing wrong.


Events.jpg (353.07 KiB) Viewed 1485 times

After playing the level/scene 3 times:
XML_Result.jpg (95.5 KiB) Viewed 1485 times
User avatar
By Lizard-13
#66039 I have found the problem, you can't use numbers as the first character in a group name. Instead "1st", "2nd", "3rd", use "pos1", "pos2", "pos3", or anything you like, but without a number in the first character, that's all :)