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.
Thank you! Been waiting for this..I'm teaching AP Computer Science A and the ability to code graphic Java repls means we can use repl.it for the entire course.
Please allow classrooms to support Java Swing.
What version of love2d are we using.love2d in repl doesn’t work with github modules.can you please fix this, also it has errors when I try to require love modules.It also has errors with the corrections I had tried to make from the Love2d forums.They also don’t work.Can you please fix this in the next update.if you want to check out the repl and find out on how to fix it basically click on @derpdizzzzy and click on book dizzy the movie noobalion rated elite.
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?
This is super exciting and the 3rd time that you guys have pushed out an update literally as my programming class would begin to start needing it. Is there a reason you called the language tkinter instead of python (with tkinter)?
In Java Swing my application may load once. If I close the application then I just get a loading wheel (or sometimes a black screen with a black x for a mouse cursor) and can't run it a second time. Really looking forward to this feature though!
@amasad The second time I run it the nohup.out files has the following at the bottom. The screen looks like the attached picture.
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 12840 requests (12840 known processed) with 0 events remaining.
Any other information you need?
Portability from desktop to here is amazing, even when it's using images! This my first PyGame game ever and it is the exact same as my laptop, here it is! https://repl.it/talk/share/Connect4-PyGame-Edition-8-Bit-Graphics/11772
You've done an amazing job on the repl.it GFX! Keep going with amazing implementations like these!
-- It can't transfer capital-letter keypresses (it interprets them as lowercase)
-- Fonts don't work right with
This is an amazing feature though
Good job repl.it team