Victor Rajewski

@VictorRajewski1 (4) • Footscray City College
Repl.it GFX Public Beta: Build Games and GUI Apps
posted to Announcements by amasad

Neat; this looks like it's running an X server and sending that out via the browser? Does it support OpenGL etc? Am hoping this will allow Pyxel (8bit games in python https://github.com/kitao/pyxel ) in the browser :)

Pyxel support?
posted to Ask by VictorRajewski1

@basicer Here's an example of brython calling raw webGL: https://codepen.io/anon/pen/XbqbNb

Pyxel support?
posted to Ask by VictorRajewski1

@basicer Hmm; no strong feelings either way.

Would latency really be an issue with retro-style games, given that the original hardware back in the day was kind of laggy anyway? I would re-create an authentic experience ;-)

On doing it client-side, if the opengl calls that pyxel makes are within the OpenGL ES2 subset, it might not be too hard to rework the rendering part of it to use webGL, but I haven't really looked at how skulpt or it's ilk interact with the browser environment. Was the python turtle-in-the-browser implemented as part of the skuplt project, or was it by someone else?

Pyxel support?
posted to Ask by VictorRajewski1

@timmy_i_chen I mean not being able to play around with the inner workings of repl.it (since it's not open source), and hence not being able to assist with getting something like this off the ground :-/

Out of interest, how are you thinking of getting a GUI happening? I notice you're using skulpt for the turtle module - are you thinking something similar (rendered in the browser) for the python GUI?

Pyxel support?
posted to Ask by VictorRajewski1

@timmy_i_chen - are you talking about OpenGL or Pyxel? I think that if OpenGL is supported, Pyxel should just run, but can't say without testing it. I guess it might be possible to port pyxel to another canvas library (what sort of drawing primitives does repl.it support?)

Not having any access to the backend I can't really get started on coding anything, but let me know if there's anything I can do to get this moving

Pyxel support?
posted to Ask by VictorRajewski1

Just delved a bit deeper and pyxel uses OpenGL for rendering, which repl.it seems not to currently support - are there any plans to be able to render an OpenGL canvas in repl.it?