FF_HORIZONTALFLIP and mobj->mirrored (sprite enhancements)
FF_HORIZONTALFLIP
is a frame flag analogous to FF_VERTICALFLIP
that flips the sprite horizontally:
in combination with FF_VERTICALFLIP
:
mobj->mirrored
inverts the angle used to calculate sprite rotation and flips the sprite accordingly. In effect, this allows asymmetric objects to be easily mirrored, creating left-handed Fang:
FF_HORIZONTALFLIP
, like rollangle
, does not behave the same way on models as it does on sprites: it acts exactly like mobj->mirrored
: flipping the model across the mobj's angle, rather than relative to the camera angle.
Edited by Kays Ishaq
Merge request reports
Activity
Filter activity
added 190 commits
-
c716e661...8063814f - 188 commits from branch
STJr:next
- cad1f57b - FF_HORIZONTALFLIP and mobj->mirrored (sprite enhancements)
- c74a607c - Whoops, switched these for no reason
-
c716e661...8063814f - 188 commits from branch
mentioned in commit 6e7446de
mentioned in commit Galactice/Kart-Public@9402a006
Please register or sign in to reply