F
FactorX12
Guest
Hi,
So I have a game I'm making, and there are parts that set the persistence of objects to false, but when I turn it back to true, the x and y of the object reset. Let's say there's an object, it's starting point upon entering the room is (10, 10) and I move it in-game to (30, 30). Then, I set the persistence to false, switch room, and set it back to true, which sets the coordinates of the object back to (10,10). This is frustrating, because this is exactly what I don't need to happen. Any help?
So I have a game I'm making, and there are parts that set the persistence of objects to false, but when I turn it back to true, the x and y of the object reset. Let's say there's an object, it's starting point upon entering the room is (10, 10) and I move it in-game to (30, 30). Then, I set the persistence to false, switch room, and set it back to true, which sets the coordinates of the object back to (10,10). This is frustrating, because this is exactly what I don't need to happen. Any help?