The easy parts are hard and the hard parts are even harder than you think. That's what I'm learning so far.
That little "!" above the camera when you're detected? That took three days to set up. If it's a child of the camera, it will rotate and pivot with it instead of being placed above it. I could set it to invert its rotation each tick but that would be dumb. So instead the label is instantiated as a separate scene and added as a sibling of the camera, but now it's effected by the lights in the level and isn't lit up. It can't be attached to the CanvasLayer or else it follows the player's screen like a dead bug on a windshield. So instead I made a simple one-line shader that blocks it from receiving any light and always makes it lit up.
Fun.
Some highlights:
Onechanbara. Because I can.
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.