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

Dev #33

Merged
merged 46 commits into from
Mar 13, 2025
Merged

Dev #33

merged 46 commits into from
Mar 13, 2025

Conversation

HowieDuhzit
Copy link
Owner

Description

Please include a summary of the changes and which component(s) are affected. Explain how your changes improve or modify the component's functionality within the Hyperfy ecosystem.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes a component issue)
  • New component
  • Component enhancement
  • Breaking change (would cause existing worlds using this component to behave differently)
  • Documentation update

How Has This Been Tested?

Please describe your tests:

  • Component functionality tests
  • Integration tests with other Hyperfy components
  • World integration testing
  • Cross-browser testing

Test Configuration:

  • Hyperfy Version:
  • Test world setup:
  • Browser(s):
  • Node.js version:

Checklist:

  • My code follows Hyperfy's component architecture
  • I have performed a self-review
  • I have documented the component's usage
  • I have tested the component in multiple scenarios
  • My changes maintain compatibility with existing worlds
  • I have updated the component documentation if needed

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
safari requires user-gesture to enable pointer-lock, eg within the same event loop of a click etc

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
in build mode when entering pointer-lock it will grab the thing in front of you, but grabbing should only after AFTER you lock.
In addition to being more memory efficient, this allows platforms to inject custom methods into the app runtime so scripts can access new things, eg `world.platform` etc

Verified

This commit was signed with the committer’s verified signature.
Apps can now call world.get(key) and world.set(key, value) on the server and those values will be persisted across world restarts. data is stored in world/storage.json

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…e it

Most social experiences won’t want player collision because it allows other players to do things like block doorways or generally be annoying.

This is now back to being off by default, with a PUBLIC_PLAYER_COLLISION variable in your .env to enable it as needed.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Replaced custom buffer builders to use TextEncoder which properly encodes/decodes emoji unicode

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Pushes a player in a certain direction with magnitude

Verified

This commit was signed with the committer’s verified signature.
supports undoing deleted items, and undo app movement

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
When in build-mode, if you are not in pointer-lock, its annoying to have to go into pointer-lock and inspect something.

Instead you can just right click and inspect whatever your mouse is hovering over.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Helps to make it more obvious so you don’t go moving things accidentally.
This also simplifies the roundRect operations

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
lets you display a button in the app inspector that can execute things inside the app. useful for setting spawn points or changing things at runtime as a builder.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Instead of having a player entity id, a network id, and a user id, use a single player id for all of these.

This makes it much simpler for app scripts to manage everything.

This also introduces the limitation that a single user can only exist in the world once, meaning if you are testing multiplayer logic you will need to open a new window in incognito to generate a new user. Ultimately this is a good trade-off for a better app developer experience.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Adds the ability to send an event directly to a specific player.
@HowieDuhzit HowieDuhzit merged commit 0c3a460 into HowieDuhzit:Controlify Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants