Custom sprites problem

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

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.
Post Reply
Nomedrebyc
Posts: 2
Joined: Tue Apr 12, 2022 4:47 pm

Custom sprites problem

Post by Nomedrebyc »

I added custom sprites and I moved sprites a few pixels below the x axis line so they would stand in the environment realistically like the other sprites (monsters, objects, etc.) But when I play the WAD on GZDoom, the sprites stand on the tip of the lowest pixel. How do I fix this?
Attachments
But she's standing on her left toes!
But she's standing on her left toes!
Screenshot_Doom_20220412_161033.png (96.65 KiB) Viewed 675 times
The sprite of this girl is here.
The sprite of this girl is here.
User avatar
Enjay
 
 
Posts: 26954
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Custom sprites problem

Post by Enjay »

The problem is that in hardware mode, anything that is below the floor gets clipped at the floor. So, by default, GZDoom moves monsters up so that the entire sprite can be seen. This can be changed in the options but your choices are:
  • Have the bottom of the feet cut off
  • Have the sprites standing on the bottom pixel (as per your screen shot)
  • Redraw the sprite so that the above doesn't look as bad.
Nomedrebyc
Posts: 2
Joined: Tue Apr 12, 2022 4:47 pm

Re: Custom sprites problem

Post by Nomedrebyc »

So there's no other way to fix it then?
User avatar
Captain J
 
 
Posts: 16891
Joined: Tue Oct 02, 2012 2:20 am
Location: An ancient Escape Shuttle(No longer active here anymore)
Contact:

Re: Custom sprites problem

Post by Captain J »

Enjay just said wrote:
  • Have the bottom of the feet cut off
  • Have the sprites standing on the bottom pixel (as per your screen shot)
  • Redraw the sprite so that the above doesn't look as bad.
Welcome to ZDoom Forum. And to answer your question, you'll need to expand the length of the character's left leg, if you feel like she's floating or somethin'.

Also as Forum Rules are written, this section is for completed or WIP projects only. If you're looking for modding help, check out the General section. Hope it helps!
User avatar
Enjay
 
 
Posts: 26954
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Custom sprites problem

Post by Enjay »

Nomedrebyc wrote:So there's no other way to fix it then?
Not really, no. Not if you want to play the mod with hardware acceleration.

[Topic moved to a more suitable forum.]
Post Reply

Return to “Assets (and other stuff)”