sloukit/pydew-valley-uzh

Features Goggles: Blurry view and health

Closed this issue · 4 comments

We need two features for the goggles:

  1. When wearing them, the view should get a little blurry (not too much, so that one can still play the game)
  2. When wearing the goggles, the last status of the health bar before taking the goggles on stops decreasing. It starts to decrease again when taking off the goggles

Thanks, I merged the PR and it looks good. Can you make the view a little more blurry? You should be able to see everything, but the blur should be noticeable.

Sure, will do that in a few hours when i can.

It's impossible to read the signposts when you're wearing Googles. Can we make the interaction with the signposts a state where the blur is paused? Or do you have another idea how to handle this?

Yeah, one way of doing it would just be implementing a game state when the signposts are being interacted with. This would work without any changes to the blur code, as the blurring only occurs when the game's state is PLAY and goggles are equipped.

Another, cleaner (in my opinion) but harder-to-implement way would be rendering signposts on top of the blur. I'm unsure how to do this; afaik all the sprites are rendered together. (Or signposts are part of the map I think and the map is rendered together) For this, you would need to render the signposts separately from the rest of the game.

Edit: Quick question, are the textboxes also unreadable?