plaza-in-a-heatwave / Cadesim

The cadesim server and client, inspired by Puzzle Pirates.
1 stars 1 forks source link

Scale UI #122

Open plaza-in-a-heatwave opened 4 years ago

plaza-in-a-heatwave commented 4 years ago

Currently, resolution just increases the screen real estate. Some users have requested a scaling feature e.g. for move buttons on 2/4K screens.

plaza-in-a-heatwave commented 4 years ago

Related to: #58

David52920 commented 4 years ago

May prove difficult. Usually you can scale things if you're using Libgdx stages however since we have our own custom GameScene class that provides the handling of mouse input; it only uses a camera. Setting cameras scale has no effect it seems. Could be missing something but not sure how you would scale up the Tokens/ other items through just camera.