cubosphere / cubosphere-code

3D puzzle game restored from ashes (code base)
GNU General Public License v3.0
21 stars 8 forks source link

Port to GLES #35

Open qwertychouskie opened 5 years ago

qwertychouskie commented 5 years ago

Porting to GLES would allow a port to mobile platforms. I don't know OpenGL, so any help is appreciated.

v1993 commented 5 years ago

This would mean using OpenGL 3 (modern OpenGL), which is really hard.

I don't know OpenGL, so any help is appreciated.

Now I see why you didn't agreed with me that it's probably easier to throw this away and rewrite stuff from scratch :-)

v1993 commented 5 years ago

In fact, it is (pretty much) duplicate of #26.

qwertychouskie commented 5 years ago

This is about GLES 1.x/2.0. #26 is about GL 3.x/GLES 3.0.

Calinou commented 4 years ago

The big upside by using GLES 2.0 is that your renderer is compatible with WebGL 1.0, which is the only graphics API that actually works well in browsers. (In my experience, WebGL 2.0 support is too broken to be usable.)

You can also use it on desktops by swapping OpenGL ES calls with OpenGL calls at compile-time (like in Godot). This way, you use the same graphics API everywhere.