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

Add PeerJS Extension #1897

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Add PeerJS Extension #1897

wants to merge 25 commits into from

Conversation

MikeDev101
Copy link
Contributor

@MikeDev101 MikeDev101 commented Jan 29, 2025

https://github.com/cloudlink-omega/peerjs-scratch

This was intended to be an experimental foundation for a CL5 rewrite but I thought it would be perfectly fine making it it's own thing.

I'm not 100% sure if my tweaks to the original code would make it fully compliant with the "Banned APIs" section.

@github-actions github-actions bot added the pr: new extension Pull requests that add a new extension label Jan 29, 2025
"Links to places other than Scratch are not allowed at this time"
@Thebloxers998
Copy link

PeerJS?! Your Adding It? Yayyyyyyyyyy

Copy link

@Thebloxers998 Thebloxers998 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the best extension for multiplayer, nice 👍

@Thebloxers998
Copy link

Where is the create peer block

@MikeDev101
Copy link
Contributor Author

Noted requested changes, will be working on them.

@CubesterYT
Copy link
Member

I'll do a review

Copy link
Member

@CubesterYT CubesterYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round one of reviews

This extension is VERY weird.

@CubesterYT
Copy link
Member

!format

@MikeDev101
Copy link
Contributor Author

huh, neat

@CubesterYT
Copy link
Member

huh, neat

Yeah, lol, it's a workflow I made (polished by GarboMuffin)

@MikeDev101
Copy link
Contributor Author

since we're here, can someone please fix the website's credit link to point to my new account? thanks

Copy link
Member

@CubesterYT CubesterYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final review from what I see.

I'd recommend making documentation, so people can have a better understanding on how to use this extension, but it isn't required.

I would like for others to review as well, in case I missed anything.

@MikeDev101
Copy link
Contributor Author

let's see if this will work for me

@MikeDev101
Copy link
Contributor Author

MikeDev101 commented Feb 6, 2025

!format

guess not.

spoke too soon?

@MikeDev101
Copy link
Contributor Author

I don't think I'm using Scratch.canRecordAudio() correctly - Is it awaitable or is it blocking?

@CST1229
Copy link
Collaborator

CST1229 commented Feb 6, 2025

I don't think I'm using Scratch.canRecordAudio() correctly - Is it awaitable or is it blocking?

it's async (so awaitable)

* Updated title
* Minified ULID function
* Prettier - Removed trailing commas
@MikeDev101
Copy link
Contributor Author

!format

@MikeDev101
Copy link
Contributor Author

😭

@MikeDev101 MikeDev101 requested a review from CubesterYT February 7, 2025 00:21
Copy link
Member

@CubesterYT CubesterYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finale

Copy link
Member

@CubesterYT CubesterYT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, now we just wait on the others.

@SharkPool-SP
Copy link
Collaborator

Why does the block "enableVerboseLogs" exist even though the toggle logs block exists?

@CubesterYT
Copy link
Member

Why does the block "enableVerboseLogs" exist even though the toggle logs block exists?

He released this extension earlier to his own people, so technically, just like your extensions, they are already being used by real people, and he rather not break compatibility.

@SharkPool-SP
Copy link
Collaborator

Why does the block "enableVerboseLogs" exist even though the toggle logs block exists?

He released this extension earlier to his own people, so technically, just like your extensions, they are already being used by real people, and he rather not break compatibility.

Ah okay.

@SharkPool-SP
Copy link
Collaborator

Seems all good then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: new extension Pull requests that add a new extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants