Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Towards an awesome user interface #724

Open
TheoPannetier opened this issue Feb 11, 2023 · 0 comments
Open

Towards an awesome user interface #724

TheoPannetier opened this issue Feb 11, 2023 · 0 comments
Labels
graphics Images, graphical changes, etc. medior Suitable for medior devs

Comments

@TheoPannetier
Copy link
Contributor

TheoPannetier commented Feb 11, 2023

Context

The menu and options button look okay, but a bit ugly. I found an awesome CC0 sprite pack, let's use it to make more appealing buttons!
This issue is quite open-ended, take it where you want. A good start would be to use the new sprites, maybe the font for the menu buttons. In more advanced directions, we can try to have a clicking animation (the different versions of the button sprites enable this), or even have a clicking sound.
Just don't forget to break down your plan in smaller issues write tests whenever you can!

Test

Below is a starting test, to load the new button sprites in the available game resources:

#ifdef FIX_ISSUE_724
 // (724) Button sprites are loaded and ready to use
  {
    game_resources gr;
    gr.get_blue_button();
    gr.get_green_button();
    gr.get_red_button();
    gr.get_yellow_button();
    gr.get_grey_button();
  }
#endif // FIX_ISSUE_724

@TheoPannetier TheoPannetier added medior Suitable for medior devs graphics Images, graphical changes, etc. labels Feb 11, 2023
TheoPannetier pushed a commit that referenced this issue Feb 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
graphics Images, graphical changes, etc. medior Suitable for medior devs
Projects
None yet
Development

No branches or pull requests

1 participant