Devlog 12: Sneaking

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:

  • Cameras can now detect the player during the night
  • Desktop files can now be dragged and dropped
  • Redesigning window styles
  • Other minor fixes

Game of the Week

Onechanbara. Because I can.

Leave a Reply

Your email address will not be published. Required fields are marked *