We've spent months researching methods to implement a cross-platform and cross-language graphics engine in Repl.it. With our Explorer's help, we've explored different ways of doing graphics -- some of you even built amazing things on it! However, the time has finally come to start rolling out our graphics system. It's still buggy and requires some more work but it works. Some of you might have even already discovered it.
While we intend to roll this out to all our languages we're starting with a few specific environments and we'll generalize from there:
Here is a taste of what the development environment might look like:
Some limitations and known issues:
- The graphics window is shared across clients. I.e. if you share your repl with someone they'll be able to interact with the same window you're interacting with. It
- You have to fork someone's repl before seeing the result.
- Sound sadly doesn't work yet
We're hoping to fix these pending issue in the next week.
[TO TRY IT FORK AND FUN] I pulled a few examples from the web for you to check out.
This is very cool. I hope you add PySDL2 for Python (since pygame is still based on deprecated SDL 1.2) and SDL2 for C/C++. Or can you already use PySDL2 through the package manager it just doesn't have a dedicated "language" yet?