Skip to content

Conversation

@BenjaminAmos
Copy link
Contributor

Description

This pull request converts the majority of UI interfaces over to use NUI. There are still a few things still using the previous UI classes where equivalent functionality is not present in NUI.

This is an aggregation of several pull requests which individually port over each screen:

This also brings-back the ability charges bar, which was broken in 2.0.0.

You can view a visual comparison of the changes here.

Testing

See the individual PRs for testing information for each screen.

Potential Future Improvements

  • The UIWarnDrawer notifications are not the most visually pleasant. Better placement and design is needed but for now I've tried to retain most lf the original appearance and behaviour.
  • UIWarnDrawer notifications start from the middle of the screen on Android, which shouldn't really be the case.

Breaking Changes

  • The original GameScreens#mainGameScreen variable has been re-named to GameScreens#oldMainGameScreen.
  • GameScreens#mainGameScreen now points to the NUI version of MainGameScreen instead.

Notes

@BenjaminAmos BenjaminAmos merged commit 3043c3d into develop Dec 4, 2022
@BenjaminAmos BenjaminAmos deleted the nui-ported-screens branch December 4, 2022 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Adapt existing UI screens to use NUI

2 participants