I want it to be welldocumented as well. I only need it for 2D graphics.
This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
[Non-LUA] C++ Graphics
Started by Mackan90096, 03 June 2013 - 12:22 AMPosted 03 June 2013 - 02:22 AM
Hi! As you might know I'm currently derping around with C++ . Well. I'm trying to make a game but I need a 2D graphics engine.
I want it to be welldocumented as well. I only need it for 2D graphics.
I want it to be welldocumented as well. I only need it for 2D graphics.
Posted 03 June 2013 - 02:35 AM
SMFL is generally the most recognised (I think). Very widely used and well documented.
You could always just use OpenGL, but that's probably a bit more difficult.
SDL is another one. Never used it but looks Ok.
Or you could do something really silly and run a JavaVM using JNI and use Swing and Java for the GUI :P/> (jks… don't actually do this).
You could always just use OpenGL, but that's probably a bit more difficult.
SDL is another one. Never used it but looks Ok.
Or you could do something really silly and run a JavaVM using JNI and use Swing and Java for the GUI :P/> (jks… don't actually do this).
Posted 03 June 2013 - 02:39 AM
Or you could do something really silly and run a JavaVM using JNI and use Swing and Java for the GUI :P/> (jks… don't actually do this).
That seems very um… overcomplicated
Posted 03 June 2013 - 02:43 AM
SDL is probably the most common and therefore probably has the most tutorials.
Posted 03 June 2013 - 07:08 AM
OpenGL 3.2 is the way to go! It is very very very very very very very very very fast, and not too hard to use(try using Xlib o_0)
Posted 03 June 2013 - 07:23 AM
2D? Isn't OpenGL 3D?OpenGL 3.2 is the way to go! It is very very very very very very very very very fast, and not too hard to use(try using Xlib o_0)
Posted 03 June 2013 - 07:32 AM
Yes, but you can easily use it for 2D. If you then later on want to add fancy lights and shit, you can easily add that.2D? Isn't OpenGL 3D?OpenGL 3.2 is the way to go! It is very very very very very very very very very fast, and not too hard to use(try using Xlib o_0)