Warping sprites

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Doomfreak
Posts: 55
Joined: Fri Oct 03, 2008 9:17 am
Location: Espoo,Finland

Warping sprites

Post by Doomfreak »

Is it possible to warp a sprite like a floor or texture with animdefs? If it is, how I do it? :?:
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: Warping sprites

Post by Ryan Cordell »

It's possible.
The sprites have to follow the same restrictions as everything else though. Has to be 16x16, 32x32, 64x64, 128x128, 256x256, 512x512, etc.

And I think they should be as centered within the graphic itself as possible, otherwise the warping might make the sprite 'leak' (it's easier to observe it happening).
User avatar
Doomfreak
Posts: 55
Joined: Fri Oct 03, 2008 9:17 am
Location: Espoo,Finland

Re: Warping sprites

Post by Doomfreak »

Ryan Cordell wrote:It's possible.
The sprites have to follow the same restrictions as everything else though. Has to be 16x16, 32x32, 64x64, 128x128, 256x256, 512x512, etc.

And I think they should be as centered within the graphic itself as possible, otherwise the warping might make the sprite 'leak' (it's easier to observe it happening).
Thank you. But what I should write to the animdefs?
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: Warping sprites

Post by Ryan Cordell »

Try using the sprite name (SPRAA0 for example)?
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: Warping sprites

Post by CaptainToenail »

Yeah, I added this effect to HPack's ghost enemy. Looks great as long as the monster doesn't change frames often IMO.
Locked

Return to “Editing (Archive)”