nanoblox / core

https://nanoblox.github.io/core/
Mozilla Public License 2.0
56 stars 17 forks source link

Console support for Topbar+ #19

Closed optimisticside closed 4 years ago

optimisticside commented 4 years ago

I was playing a game that had HD Admin in it on an Xbox One console, when I noticed that ROBLOX's rounded UI icons on the new top-bar are not present, yet the HD Admin logo is. (Again, I'm not sure exactly how detecting a player's platform would be possible, as ROBLOX only provides input-type detection APIs.)

Lucke0051 commented 4 years ago

Do you have any images?

1ForeverHD commented 4 years ago

If a controller is detected:

  1. If IsTenFootInterface is true, increase the size of icons by 100-200% and disable any icon created with :createFakeChat()
  2. Shift all icons to the middle
  3. Hide topbar+, and have it toggled using inputs such as down on the DPad (to open) then B to close
  4. Setup UI to indicate these actions (e.g. have a down-DPad icon in top-middle, and B icon when opened)
  5. ***'Pause' gameplay controls when opened
  6. If a controller is removed, reverse these changes

*** If this is not a problem when we come round to making it, just ignore

Here's a great example from Car Crushers 2: https://discordapp.com/channels/528179091548012544/582621372048474150/728245377131741184