nstgeorge / VEKTA

A space exploration game created in Processing 3 with orbital mechanics
MIT License
1 stars 1 forks source link

UI does not scale to resolution #70

Open nstgeorge opened 3 years ago

nstgeorge commented 3 years ago

Description

The UI of the game on resolutions that are not 1920x1080 (or close to it) looks totally wrong, because we use hard-coded pixel numbers for UI elements.

System Specifications:

This was tested on 3200x1800 and 1600x900 monitors, each with strange results.

Steps to Reproduce

  1. Run the game on a non-HD or larger than HD monitor.

Actual Results

The UI is either too small or too large.

Expected Results

The UI should scale based on the resolution of the monitor.

Other Notes

While we're at it, we might want to add scaling options for the user to fine-tune the size of the game.