Currently Claudius does not allow for window resizing, providing just a fixed sized canvas which is suited for doing generative art, retro computing graphics, and games.
However, because often the "retro" style graphics use low resolutions (e.g., 240x144 for TIC-80, 320x200 or 640x480 for VGA emulation), we provide a scaling factor when creating the screen:
Palette.generate_mono_palette 16 |>
Screen.create 320 200 4 |>
Base.run "test" None tick
But what is a good scaling factor will vary from display to display and from user to user, so it might be good to let users change that for themselves
Options here:
- Allow window resizing using the mouse - the challenge here is ensuring that the aspect ratio remains the same
- Allow the user to use a key-combination to increment or decrement the scale factor, like using ctrl-plus and ctrl-minus in a browser. the challenge here is picking a key combination that people won't want to use in the games they're building with Claudius.
Currently Claudius does not allow for window resizing, providing just a fixed sized canvas which is suited for doing generative art, retro computing graphics, and games.
However, because often the "retro" style graphics use low resolutions (e.g., 240x144 for TIC-80, 320x200 or 640x480 for VGA emulation), we provide a scaling factor when creating the screen:
But what is a good scaling factor will vary from display to display and from user to user, so it might be good to let users change that for themselves
Options here: