XYBillboarding/FLATSPRITE problems
Posted: Sat Mar 25, 2017 8:51
In a mod I'm creating I'm using an overhead camera that follows the player around the room. The problem is when enemies are in the room and the camera is tracking, there's a sort of parallax effect when given the +FORCEXYBILLBOARDING flag, as demonstrated below
https://gfycat.com/SnarlingDizzyHagfish
I tried using +FLATSPRITE which solves the parallax issue, but since it's being applied to an enemy, the whole sprite rotates to face its target, like this
https://gfycat.com/FirmImpoliteIndianpangolin
Is there any solution to this? Something like a ZOffset for sprites would probably solve it but I haven't found anything like that.
https://gfycat.com/SnarlingDizzyHagfish
I tried using +FLATSPRITE which solves the parallax issue, but since it's being applied to an enemy, the whole sprite rotates to face its target, like this
https://gfycat.com/FirmImpoliteIndianpangolin
Is there any solution to this? Something like a ZOffset for sprites would probably solve it but I haven't found anything like that.