H
11

Took me 6 hours to fix a sprite alignment bug in Doom

I was working on a custom Doom mod where I replaced the shotgun with a new sprite sheet. The gun kept showing up 10 pixels to the left of where it should be in the firing animation. After 6 hours of tweaking offsets in Slade and checking the DECORATE code, I finally realized I had the sprite set to 'WeaponOffset' instead of 'WeaponOffset2'. Has anyone else wasted a whole afternoon on one dumb line of code?
2 comments

Log in to join the discussion

Log In
2 Comments
rowank69
rowank6916d ago
And honestly that's part of what makes modding old games like Doom so brutal. The tools were never designed for amateurs to jump in and mess with stuff. You gotta memorize weird quirks like the difference between those two offset commands or waste half a day guessing.
1
nathan_foster60
Yeah that's a big mood, I spent a whole weekend once because I forgot which offset command did what.
7