actually I'm trying to code my first 2d game with python, using arcade library. I want to know if there's a way to make the game fit any screen size without manual adjustment of the width and height:
import arcade
SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600
Option 1. Use full screen mode
Launch you
arcadeapp withfullscreen=Trueflag:Detailed example here.
Option 2. Get display size
Use
get_display_sizefunction to get screen resolution: