way to warp sprites?

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

way to warp sprites?

Post by BlazingPhoenix »

Is it possible to warp sprites in GZDoom? I know you can animdefs them but...
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

They have to be square with sizes that are powers of 2. Then you can use the warp command as usual.
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

Post by BlazingPhoenix »

I got the sprite and it's warpable now but what should I use to warp it? I tried
WARP2 PIC SWEEA0 and that didn't work then I tried WARP2 SPRITE SWEEA0 and that didn't work either..what's wrong?
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

My guess is that the normal syntax would work. Try

warp2 flat SWEEA0

or maybe

warp2 texture SWEEA0
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

THe only difference between 'warp texture' and 'warp flat' is the namespace which is searched first.
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

I figured it might be something like that seeing as how, at least from an end-user POV, Zdoom doesn't care what my graphic is. I've certainly put warping flats on walls before.
Locked

Return to “GZDoom”