Clarification on sprite rotations.
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.
-
- Posts: 224
- Joined: Fri Jan 30, 2015 10:32 pm
- Location: Pittman Center
Clarification on sprite rotations.
So, 1 of my co-workers is helping me with doing some smoothed enemy animations for my own MAP32 remake. Basically, I'm just fixing the vanilla Wolf SS to be more faithful to his original Wolf3d self, but with the full 16 rotations (including on death animations), per-tic animation smoothness, & custom damage type death animations. Since I'm having trouble deciphering the table explaining such on the "sprites" page, would 1 of my fellow community members be so kind as to clarify what name to give to what rotation, & what direction the rotation names go in (assuming the rotation name order starts directly from a front view of the actor)?
-
- Posts: 2100
- Joined: Sun Aug 18, 2013 9:41 am
- Location: Philadelphia, PA
-
- Posts: 224
- Joined: Fri Jan 30, 2015 10:32 pm
- Location: Pittman Center
Re: Clarification on sprite rotations.
Yeah... I feel like an idiot. The problem comes from the rotation following formats like “a3a7” & stuff like that.
-
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
Re: Clarification on sprite rotations.
When there's two indexes on a sprite name like that, the second one represents its opposite angle. In the case of A3A7, the sprite is used as-is for angle 3 (facing left), and angle 7 (facing right) is the same sprite but mirrored.Ultimate Freedoomer wrote:Yeah... I feel like an idiot. The problem comes from the rotation following formats like “a3a7” & stuff like that.