MovingBlocks

DestSol - Constant Font Size on UiOverhaul Branch

In the DestSol on GitHub repository, we have a branch called UiOverhaul. It is a near complete rework of the UI system in Destination Sol. One of the things that needs to be fixed is the font size. As it is right now, the font size is expressed as a percentage of the screen size, so it changes when the window is resized. Your task is to make the size of the font stay constant even as the window resizes.

Where to start

  • The UiDrawer class handles all the resize and font processing.

Definition of 'Done'

  • A PR against the UiOverhaul branch (not develop) of DestSol on GitHub with your changes.
  • A couple screenshots showing the game at different window sizes with the text having adjusted accordingly

See Also

Task tags

  • destinationsol
  • code
  • ui
  • destsol

Students who completed this task

NicholasBatesNZ

Task type

  • code Code
  • web Design
close

2018