They are displayed (if you look at the projectile from the front) to the right and below of where the real projectile is. The collision obviously happens not where the sprites are displayed.
How can it be fixed? I have attached one of the files used.
Projectile sprites are misplaced
Moderators: GZDoom Developers, Raze Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Projectile sprites are misplaced
- Attachments
-
- PUF2R0.png (1003 Bytes) Viewed 593 times
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
Re: Projectile sprites are misplaced
I'm on Linux, is it possible to adjust offsets from command line?
-
- Posts: 4949
- Joined: Sun Nov 14, 2010 12:59 am
Re: Projectile sprites are misplaced
SLADE3 runs on Linux.
Re: Projectile sprites are misplaced
Oh, indeed it does! But it crashes when I try to open any graphics file
Re: Projectile sprites are misplaced
Thanks! It worked
Though it required some efforts, so in case someone else needs it, I'm gonna post what I did.
The download links at http://baghead.drdteam.org/grabpng.xml are dead. I found it on http://baghead.drdteam.org/tools.xml and downloaded. But it requires fltk 1.1 to work, it's an old version, that at least in my distro is not available in repos. It also refused to build from source, so I've created symlinks to the lybraries of the installed, newer version of fltk:
After that I could use grabpng with total success
Though it required some efforts, so in case someone else needs it, I'm gonna post what I did.
The download links at http://baghead.drdteam.org/grabpng.xml are dead. I found it on http://baghead.drdteam.org/tools.xml and downloaded. But it requires fltk 1.1 to work, it's an old version, that at least in my distro is not available in repos. It also refused to build from source, so I've created symlinks to the lybraries of the installed, newer version of fltk:
Code: Select all
sudo ln -s /usr/lib/libfltk.so /usr/lib/libfltk.so.1.1
sudo ln -s /usr/lib/libfltk_images.so /usr/lib/libfltk_images.so.1.1