Skip to content

Font not loading on page load #16

@noahbei

Description

@noahbei

Description

The font that is defined in UI.js does show until the game is started. This affects the all of the text drawn to the screen including the pause menu text and the HUD text. The font is only loaded after the game is unpaused for the first time when it should be there at the beginning

Expected Behavior

The font defined in UI.js should be shown right when the user loads the page.

Actual Behavior

The font is only shown after unpausing the game for the first time.

Steps to Reproduce the Problem

Load the html page, on the initial load without any user input you should see that the font has not loaded properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions