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.

Open
#421 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.