Skip to content

Feature: 2D Space Shooter UI Pass using UI Toolkit #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 15, 2022

Conversation

jilfranco-unity
Copy link
Contributor

@jilfranco-unity jilfranco-unity commented Aug 4, 2022

Description:

This PR contains an overhaul of the UI for the 2D Space Shooter Bitesize Sample--the old GUI UI has been replaced with new and improved UI Toolkit UI!

Overall features include:

  • New visuals for buttons, input fields, player UI, and power up labels all created and implemented using UI toolkit runtime UI
  • More feedback provided to user in Main Menu UI (connection status, field input validity)

Plus the removal of outdated GUI UI!

There's a known issue for an error that's thrown with UI Toolkit also, so please disregard that

Here's a before an after of the visuals

Before:
https://user-images.githubusercontent.com/89089503/182952232-ea501b07-9f5c-477e-9fe6-4bd92cae6504.mp4

After:
https://user-images.githubusercontent.com/89089503/182951407-4b2d0ec7-9486-4271-ad85-1dfd646a4a23.mp4

@chrispope
Copy link
Collaborator

chrispope commented Aug 5, 2022

Most definitely an improvement.

I am getting cartoony/comic sans style feels from the UI buttons in the top left.
However, I don't get the same feels for the player UI and pick-ups UI - are the fonts the same?

Definitely clear and readable.
Not a matching style in my opinion.

Maybe you could try a sci-fi stylised font or present us with a few options?

Copy link
Contributor

@LPLafontaineB LPLafontaineB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be able to see the name, hp, and energy of other player characters?
image

@jilfranco-unity
Copy link
Contributor Author

Should we be able to see the name, hp, and energy of other player characters? image

That is intentional, yes! You can destroy other players so it's useful to be able to see their name and resources

@jilfranco-unity
Copy link
Contributor Author

jilfranco-unity commented Aug 5, 2022

Most definitely an improvement.

Thank you! :)

I am getting cartoony/comic sans style feels from the UI buttons in the top left. However, I don't get the same feels for the player UI and pick-ups UI - are the fonts the same?

The font is the same for the whole game--player, power ups, menu elements

Definitely clear and readable. Not a matching style in my opinion.

Maybe you could try a sci-fi stylised font or present us with a few options?

(editing this comment after some reflection on the roadmap timeline) I'm not sure there's enough time to work on a full reiteration of the UI, but I can definitely try some new fonts--that might be enough to give it more of a sci-fi feel!

@jilfranco-unity
Copy link
Contributor Author

Here is an update to the UI! Reused some of our assets to go for more of a sci fi feel, as well as to increase cohesion between the in game background visuals and UI visuals!

2022-08-10.11-14-54.mp4

Copy link
Contributor

@LPLafontaineB LPLafontaineB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this! Very nice upgrade

@jilfranco-unity jilfranco-unity merged commit 29769e8 into develop Aug 15, 2022
@jilfranco-unity jilfranco-unity deleted the feature/2D-space-shooter-ui branch August 15, 2022 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants