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
arcade
app withfullscreen=True
flag:Detailed example here.
Option 2. Get display size
Use
get_display_size
function to get screen resolution: