4 ms·
Thanks a lot. Is it the same for 2d?
by hnthrowaway0328 3y ago
Thanks a lot. Is it the same for 2d?
- krapp 3y agoI was refering to 2D. for 3D, SDL2 has OpenGL and Vulkan APIs. SDL3 is going to have a general purpose 3D API with its own shader language AFAIK. In my experience, if what you want is to just get a window open and render some sprites, have some basic low level stuff handled and not have your hand held, SDL2 is ridiculously easy for it. There's also Raylib[0] and SFML[1], neither of which I've used but I hear good things about. [0]https://www.raylib.com/ https://www.raylib.com/ [1]https://www.sfml-dev.org/ https://www.sfml-dev.org/
- hnthrowaway0328 3y agoThanks, I'm not familiar with the graphics internals so sorry for the confusion. Yeah I made half of a Ultima spinoff with SDL2 and it's pretty easy. Basically I load a texture which is a spritesheet and it's trivial to present a tilemap.