Changing the x value of the player changed its left and right position on the screen. Changing the y position changed its up and down position on the screen. I tried changing a few different values and discovered that the lower numbers for y actually put the player higher up on the screen. This seems strange, but if you look at it from a grid perspective with the 0,0 coordinate being at the top-left corner of the screen, it actually makes perfect sense.
No comments:
Post a Comment