Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+10 votes

my 0,0 is not the top left corner of my screeen and so I cannot prevent the player ship from going off screen. any idea how to get 0,0 to actually be the corner instead of a point more towards the center?

asked in CSC380Jan2024 by (1 point)
reopened by

1 Answer

+4 votes

answered my own question. The characterbody was not on the sprite and so it messed up where the sprite was and where the character body was and screwed up my calculations.

answered by (1 point)
...