You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this, I'm thinking to use the existing offset variable that controls the displacement of the background tiles. If I can find out how far the character is offscreen(which shouldn't be hard ie: the difference in backbufferwidth and character's local position(not world position)) I should be able to scroll the map to center back on him, Since I added 10 extra tile rows/columns for the background, it should look fine in doing this, and it will also prevent the character from moving further in the event the resolution changes > Offset changes > he tries to move off map
No description provided.
The text was updated successfully, but these errors were encountered: