fishfolk / jumpy

Tactical 2D shooter in fishy pixels style. Made with Rust-lang 🦀 and Bevy 🪶
https://fishfolk.org/games/jumpy/
Other
1.59k stars 116 forks source link

Window Resizing: No minimum window size + Aspect ratio can be violated #977

Open MaxCWhitehead opened 2 months ago

MaxCWhitehead commented 2 months ago

Description

In windowed mode, there is nothing preventing player from minimizing to unplayable size.

Additionally, aspect ratio is not preserved. This can allow player to play game with edges cut off of view.

To Reproduce

  1. Disable fullscreen mode
  2. Resize window such that it is tiny or part of game is cut off

Expected Behavior

Enforce a minimum resolution, and restrict aspect ratio such that entire view of game remains visible

Additional Context

No response

Log Messages

No response