Skip to content
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

Sprite offsets should always be horizontally centered #50

Open
fragglet opened this issue Sep 4, 2017 · 3 comments
Open

Sprite offsets should always be horizontally centered #50

fragglet opened this issue Sep 4, 2017 · 3 comments

Comments

@fragglet
Copy link
Contributor

fragglet commented Sep 4, 2017

There is a bug in vanilla Doom where horizontally mirrored sprites don't have their horizontal offsets mirrored to match. So monsters can end up "jumping around" all over the place when viewed mirrored.

Example from Freedoom: freedoom/freedoom@f6f5ee88365c6846726

There's a fairly simple solution which is to add blank space on the left or right size, so that horizontal offset = sprite width / 2. It would be nice if there was an option for deutex to just do this automatically for all sprites, or at least those with a mirrored version.

@Voros2
Copy link
Contributor

Voros2 commented Oct 7, 2017

Does it matter which side the blank space is added? How can Deutex recognise sprites that are mirrored and are not from the commercial games?

@Voros2
Copy link
Contributor

Voros2 commented Oct 7, 2017

Or should it just add the blank space to all the sprites by default?

@fragglet
Copy link
Contributor Author

fragglet commented Oct 7, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants