strawdynamics / pdportal Goto Github PK
View Code? Open in Web Editor NEWA magic portal for Playdate that enables online multiplayer using Web Serial and WebRTC.
Home Page: https://pdportal.net
License: MIT License
A magic portal for Playdate that enables online multiplayer using Web Serial and WebRTC.
Home Page: https://pdportal.net
License: MIT License
Is your feature request related to a problem? Please describe.
pdportal/scripts/uploadPdxToPlaydate.js
Line 54 in f8c08a9
^ This line will break on non-macOS systems. Probably other things when trying to build the demo apps, too.
Describe the solution you'd like
Updates to the build script to make it multiplatform (and less janky overall)
Is your feature request related to a problem? Please describe.
Currently, there's only PD<->PD communication. Adding, basically, "AJAX support" would enable:
Describe the solution you'd like
Describe alternatives you've considered
None.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
Right now, the hands don't move when A is pressed.
Describe the solution you'd like
The "finger down" state has already been drawn. Both players should see this; probably the easiest way to do that is send A down/up events over the network.
Describe alternatives you've considered
Not animating the hands, which is what I did originally.
Additional context
Is your feature request related to a problem? Please describe.
This would certainly make development easier when you only have one Playdate! Among other benefits like the ability to have "dedicated servers" running actual PD code.
Describe the solution you'd like
Some discussion: https://discord.com/channels/675983554655551509/1173443567730032730/1173466464548835349
Is your feature request related to a problem? Please describe.
I have no clue what I'm doing when I try to program with this
Describe the solution you'd like
Some form of documentation, even just a text file would be amazing, explaining just how to do anything with this.
Describe alternatives you've considered
DMing @paulstraw but I don't want to annoy him
Is your feature request related to a problem? Please describe.
pdportal doesn't currently support any mobile devices, because it requires Web Serial.
Describe the solution you'd like
As mentioned by dlog in this thread, there's a Serial API Polyfill available from Google that implements Web Serial on top of WebUSB. The polyfill repo explicitly mentions Android support. See also, https://caniuse.com/webusb
Describe alternatives you've considered
None
Additional context
I'd like to wait to action this until 0.2.0 lands.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.