matrix-org / matrix-org/thirdroom
'b' to fly should jump you up in the air a bit to make it clear you're now flying.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 647
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
I keep seeing people (including me) hitting `b` for the first time, and then asking why flying doesn't work, because they don't realise they need to then look up/down and WASD to actually start flying.
One solution could be to simply trigger a jump action before the flymode kicks in, so that you literally jump into the air and then hang there flying, making it abundantly clear to the user that they're now flying - rather than there being zero UI feedback on hitting `b`.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the input handler for `b` and the flymode transition, then trace how the existing jump action is triggered. Implement the requested feedback when flight starts and verify that pressing `b` visibly moves the player into the air before flight controls are used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- three.js, typescript
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100