Commit
…ace the camera tested with this code snippet: ``` class ZombieManFaceCamera : Zombieman replaces Zombieman { default { +BILLBOARDFACECAMERA; } } ```
- Loading branch information
There are no files selected for viewing
6 comments
on commit 3caa624
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the difference between this and +ForceXYBillboard
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ForceXYBillboard is more for ball sprites and such.
This one just enables the "sprite faces camera" as a per-sprite (mod-defined) option, via an actor flag.
To be clear, normally sprites face the camera angle, which makes them appear more consistent when they get to the edges of the camera. This (and the related menu option) makes it so they directly point to the camera's position, instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a +NoFaceCamera variant that does the opposite? That'd be really appreciated.
This will allow modders full control over what they want to allow to face the camera and not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is doable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Camera in these screenshots is looking down
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is doable.
Looking forward to it!
The lack of null pointer check here is causing some mods to crash.