Platform Builder Forums

Help and Support => Working with Platform Builder => Topic started by: Wizard Indie Games on December 08, 2020, 07:26:04 PM

Title: 8.2.3 - Working With X/Y Coordinates
Post by: Wizard Indie Games on December 08, 2020, 07:26:04 PM
Did the new update change the command for changing X and Y coordinate values?

Previously, I used X =-1 to reduce the X value by 1. Now it just seems to make the object disappear. Presumably, it moves it to X position -1 (which actually makes sense).

I altered my commands to the format: X - 1 to reduce the value by 1 and it now works as before.
Title: Re: 8.2.3 - Working With X/Y Coordinates
Post by: Warrior555MainsGanon on December 08, 2020, 09:02:20 PM
Did the new update change the command for changing X and Y coordinate values?
Previously, I used X =-1 to reduce the X value by 1. Now it just seems to make the object disappear. Presumably, it moves it to X position -1 (which actually makes sense).
I altered my commands to the format: X - 1 to reduce the value by 1 and it now works as before.
I think you figured out everything there to know.
Title: Re: 8.2.3 - Working With X/Y Coordinates
Post by: Antikore on December 09, 2020, 06:57:42 AM
Did the new update change the command for changing X and Y coordinate values?

Previously, I used X =-1 to reduce the X value by 1. Now it just seems to make the object disappear. Presumably, it moves it to X position -1 (which actually makes sense).

I altered my commands to the format: X - 1 to reduce the value by 1 and it now works as before.
As far of I know, x =- 1 will move it to position -1, and x -= 1 will reduce the value by 1 as you said.