-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug lines for y-sorting #230
Conversation
This is a visual thing, right? Could you please share a screenshot of the change in action? |
It's still in progress, it's just basically a line at the bottom of each sprite representing the point at which sprites appear behind each other. Just to help debug that value. When It's ready I can get a screenshot. |
So after adding the debug lines it was easy to tell that the problem is caused because of the different padding between sprite sheets. I think adding a |
Fix y-sort by adding size to the fighters.
Ok so I just finished up everything should be working fine now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tested but the code looks good. 👍
@erlend-sh Here you go. |
bors r+ |
A PR to draw debug lines for the y-sorting that enables easy debugging for fixing current y-sorting problems.