Skip to content
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

Basic UI support #93

Closed
4 tasks done
kanerogers opened this issue Sep 28, 2021 · 1 comment · Fixed by #115
Closed
4 tasks done

Basic UI support #93

kanerogers opened this issue Sep 28, 2021 · 1 comment · Fixed by #115
Assignees
Labels
feature A new feature to add to the engine

Comments

@kanerogers
Copy link
Collaborator

kanerogers commented Sep 28, 2021

Description

This is one of the last "big features" needed before we can ship 0.1.

UIs are big, scary things and I've tried as much as possible to avoid them with a 10 foot pole. But, games without UI are no games at all. VR games, doubly so.

TODO

  • Refactor current functionality
  • Add minimal working egui example
  • Integrate egui into hotham
  • Interactivity
@kanerogers kanerogers added the feature A new feature to add to the engine label Sep 28, 2021
@kanerogers kanerogers self-assigned this Sep 28, 2021
@kanerogers kanerogers mentioned this issue Sep 28, 2021
12 tasks
@kanerogers
Copy link
Collaborator Author

kanerogers commented Jan 3, 2022

Interactivity plan

  • Use "aim" pose to get the start of a ray from the player's controller
  • Cast a ray to see if it hits a Panel component
  • Render some sort of ray indicator
  • Render a "dot" on the panel that corresponds with where the ray has hit
  • Have buttons highlight/toggle when cast
  • Squeeze trigger == press button
  • Haptic feedback on button hover
  • Better button API

kanerogers added a commit that referenced this issue Jan 7, 2022
- Add the Panel component, which allows users to add objects with rendered text
- Add the Pointers system which allows users to interact with Panels, eg.
   clicking buttons, moving cursors etc.
- Closes Basic UI support #93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature to add to the engine
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant