ッ Join my NEW discord server (will you be the first to post?): tinyurl.com/gr... ッ DONT CLICK THIS: tinyurl.com/4z...
Пікірлер: 75
@Carlos-kh5qu Жыл бұрын
I really like the portability of SDL, if you look away for 10 seconds they might do a HolyC port for a random console from 2004
@fcmedic42172 жыл бұрын
I'm now immortalized in a video, I've never felt more honored. Great video, very straight to the point and informative. I joined the discord as well.
@mkac0036 Жыл бұрын
I think that SDL2 is the best. It has a built-in renderer, that can target OpenGL, Software rendering, Vulkan is worked on and it has sister libraries like SDL_image, SDL_net, ... It has great compatability, you can use emscripten to compile to wasm, and it has a well documented, feature-rich API. Overall, I recommend
@onebigsnowball Жыл бұрын
It's great, but doesn't support shaders for the built in renderer
@nobyra2 жыл бұрын
0:44 sounded like "dont use API" scared me Like damn time to learn it all from scratch
@TiaguinhouGFX Жыл бұрын
You can say that C++ is better in your opinion, but objectively C is better.
@haru02w896 ай бұрын
I'm sorry. At the end of the day, the project needs to be finished. I won't implement everything myself just because C doesn't have STL
@immanuelcharles28752 жыл бұрын
For audio I really like using this library call irrklang a powerful but simple library with GLFW it’s really simple and requires like 10 lines of code to load in and play sounds. I haven’t really messed with 3D sounds though
@ahmeterenlacinbala2 жыл бұрын
You can take a look at Juce framework for audio applications but Juce is more for musical DSP applications. You can still do simple GUI audio applications tho.
@teasauce36082 жыл бұрын
SoLoud is also a neat lib for sound loading/playing.
@Carlos-kh5qu Жыл бұрын
think SDL + SDL_mixer is enough for most cases, you can mess with effects and even with the built-in effects you can do 3D audio
@dreamhollow Жыл бұрын
I've been using SFML for a while. It's not so much that it's hard to troubleshoot, it's more like you have to develop your own tools for debugging WHILE troubleshooting. It saves you a massive amount of time in figuring out where your biggest problems are.
@cristianinujazznight30442 жыл бұрын
C++ is Love :D
@therealvbw Жыл бұрын
Man I wish more videos were as short and sweet as this
@graphicsrush Жыл бұрын
Glad ya liked it!
@yolamontalvan95027 ай бұрын
Thank you for your SDL information. Keep up the good work, your videos are easy to understand.
@legacywolf4434 ай бұрын
SDL has extensions for things like network and is compatible with pretty much anything it could technically be possible to run it on.
@WardColin-u8d26 күн бұрын
Rowe Walks
@santiagolerin Жыл бұрын
Really good video, good enough graphic and audio quality and straight to the point
@random-user-sАй бұрын
To be honest, I've tried all of them and the only one I've been comfortable enough with is sfml.
@spotter52144 ай бұрын
simply invaluable.
@JohnClark-x9z24 күн бұрын
Breitenberg Wall
@NoName-md6fd5 ай бұрын
If you are fiddling with game programming, SFML and raylib just work. If you want to have the game on steam, pick SDL as valve supports it. If you used either SFML or raylib then SDL won't be as much of a chore to learn.
@C3mR4de Жыл бұрын
Well if there was an API as simple as SFML and capable of 3D, it would be priceless. SFML is very, VERY simple, well-sharpen for many platforms and the same code works properly on Windows and Linux (its latest stable version also has good backwards compatibility down to Windows XP, which I think is nice). You can use lots of other languages with SFML beside C++ (but that bindings are not official and some of them might be outdated). But it has one big con, it doesn't support 3D and never will and you should use low-level OpenGL calls to work with it. It's not very important for me cuz I don't use 3D, but if I want to try it, I should learn GLFW instead (because pure OpenGL is platform-specific). Maybe I could bind SFML and GLFW and use it both for 3D, but I dunno.
@irice710 ай бұрын
0:05 x11 is mit licensed, not propiertary 🙃
@RobotronSage2 жыл бұрын
Great stuff Was looking for something like this Maybe you could do another video going more in detail on the differences I.E which API is more intuitive to use And perhaps organise the differences better, the question marks kindof confused me Like after watching this i still have a lot of questions I've used a bit of SDL and SFML and i think even some GLFW already so that's why i am confused as to which library to use primarily. I think i'm leaning on towards SDL as iirc (i had a concussion last year) it was easier to setup in my opinion. I am trying to configure some IMGUI stuff but i don't know which OpenGL library to choose :'D
@graphicsrush2 жыл бұрын
I'll be sure to do that! Honestly, I believe that it's mostly an aspect of personal preference (for example SFML offers OOB style programming while the other don't). For IMGUI I recommend GLFW or SDL as they have the most support. Good luck with your project! EDIT: I found the question marks present in the video... and yes, they do look confusing when put into the context of a video...
@BurnsAmelia-e5u22 күн бұрын
Javier Spring
@ivanenzhaev23732 жыл бұрын
Thanks for video. It is good. But you did not say about a very important thing for many people - Android and iOS. You can check what is better for mobile development by searching tutorials on KZbin: sdl android, sfml android, sdl ios, sfml ios. Spoiler -> SDL2 is better for mobile development for Android and iOS
@graphicsrush2 жыл бұрын
Yes, I have overlooked that! I might make another video on that for sake of completeness…
@BrianReynolds-e5v23 күн бұрын
Delaney Spur
@sdsds-h6y21 күн бұрын
Marks Ridge
@ClaraTony-m2z10 күн бұрын
Thompson Ruth Moore Shirley Wilson Ronald
@-_Marcos_-2 жыл бұрын
Great, i'm glad to find this video. I was about to learn glut ☠
@encapsulatio2 жыл бұрын
Is there any modern GUI library that works through Vulkan? Am interested in using such a library to make the UI of desktop apps i want to make.
@graphicsrush2 жыл бұрын
Great Question! Not any that I know of that use Vulkan. But you could use an immediate mode UI library (basically means that the renderer is not included with the UI library) and use Vulkan to render the UI elements. (I personally use Dear Imgui @ github.com/ocornut/imgui) Alternatively, you could use a UI library that uses operating system proprietary windowing APIs and doesn't use a graphics API at all (GTK and GTK+ are good cross-platform options) Good luck with your project!
@encapsulatio2 жыл бұрын
@@graphicsrush I honestly need it to have as few dependencies as possible to the native windowing APIs of every platform...and also work on Android and IOS.
@graphicsrush2 жыл бұрын
@@encapsulatio Hmmm, A lot of UI libs support android but not IOS. In fact, this was a problem I faced when developing my game engine. I suppose you *could* use an immediate mode UI library but I fear it would be too overkill for your application (are you going to be using graphics intensive effects like complex animations and geometry in your application?) For making the renderer cross platform I am guessing that it wouldn't be a problem as Vulkan is supported on IOS through MoltenVK...
@zoriiginalx7544 Жыл бұрын
Qt
@goge7152 Жыл бұрын
I'm really new to C++ and this would be my first API I'll learn but don't know where to start
@jedsiecz5 ай бұрын
@Voxi0 i do raylib, i'd say im half decent but its faster than onelonecoders pixelgameengine and almost as easy, so ill stick to it
@rsingh5759 Жыл бұрын
There is a secret easiest option called raylib
@Unavailable89239 күн бұрын
No iOS deployment. I want to keep my options open for game publishing.
@DuffkaBigNerd2 жыл бұрын
You mention using other APIs alot in the video, mind if I ask, what your prefered mixture of APIs to use, and for what purposes?
@graphicsrush2 жыл бұрын
I mostly use glfw and vulkan *or* opengl and sdl
@HoriyatonniHamia25 күн бұрын
Anderson Steven White Michelle Johnson Jason
@UndyingEDM2 жыл бұрын
Thoughts on this vs Dear Imgui?
@AlFredo-sx2yy Жыл бұрын
@Voxi0 you can use that to add GUIs to a game tho. Look at the hazel engine for example, it uses imgui to draw GUI on top of the game. Dont say it cant be done, rendering is all about drawing things, you can always render anything on top of any other thing... imgui is purposefully made so that it can be compatible with any kind of graphics application
@VoidloniXaarii Жыл бұрын
Thank you
@justarandomdude.9285 Жыл бұрын
Dude, thx for the save. But it's really hard to start actually coding your project as a beginner. the worst part is I can't get Visual studio as an IDE so I'm using code blocks. do you have any vid about just starting your project whatever is it, cuz it's been a month and I'm getting no where as I can see. (I only have knowledge in C++)
@graphicsrush2 жыл бұрын
Thanks to @FcMedic42 for this video idea! If y'all want to see something specific on this channel feel free to tell me in the comments below! EDIT: X11 technically isn't an API at all...
@thoughte24322 жыл бұрын
This was a nice, informative video. I have two suggestions, one about the video format, the other about idea's: I think it'd be a better idea to add to subtitles to the subtitling feature of youtube so viewers can turn it on/off. As for the ideas, you could make a video about problems (concerning one of the api's) that don't have a video (or only ones that are outdated or ones that aren't found easily) that explains how to implement/solve it. Along that you could also add best practices to the video as extra useful info. Other than that, you could also make a devlog about cool projects you're working on. Good luck with your channel!
@graphicsrush2 жыл бұрын
@@thoughte2432 Thank you very much for the reply! I’ll definitely put these practices and ideas to use in future videos! Devlogs are especially something I wanted to do since the beginning of the channel and I’m glad to know that there is support for them! As for using KZbin’s built-in subtitles, I’ll definitely put that to use in my videos 👍
@viewererdos11 ай бұрын
The downside of SFML is the idiotic division of headers and subsystems when compiling into separate libraries instead of one library and one header + toxic community even on Github.
@MaxPayne-rd5wd13 күн бұрын
Underrated comment lol.
@Light133787 ай бұрын
Hello thank for sharing these video amd can you make update oft these video and explain a little bit detail
@visitor_t-w3p8 ай бұрын
too short..i want long version
@BarrieChaucer-g8u21 күн бұрын
Hauck Mews
@Trox-the-gamer10 ай бұрын
Raylib is easy
@blast4ce4 ай бұрын
hello
@prayush7811 ай бұрын
0:10 X
@tanura58302 жыл бұрын
Just use SFML if you are noob, easiest way imo
@void98869 ай бұрын
does openGL and GLFW the same API?
@wiskasIO Жыл бұрын
Saying that SFML is underrated it's an underrated statement on itself... SFML is the shoot!!💪🏼++
@EpicVideoGamer77712 жыл бұрын
Thanks dude, I think I'll go with SFML after I get better at C++
@jorik1708 ай бұрын
how is it going mate? any advice for me, a beginner?
@EpicVideoGamer77717 ай бұрын
@@jorik170Good thank you, I ended up quitting SFML pretty quickly as I wasn't passionate about it. I have since began learning OpenGL and although it is challenging, I am enjoying it very much
@kasufert7 ай бұрын
@@jorik170FYI, SFML works just fine with OpenGL, you just need a wrangler like GLEW or GLAD but after that you can use SFML just like any other windowing library for 3D OpenGL rendering.
@ramicolloАй бұрын
@@EpicVideoGamer7771how is openGL more enjoyable?
@EpicVideoGamer7771Ай бұрын
@@ramicollo I enjoy the process of learning and implementing each element of the graphics engine, although its hard to wrap your head around.
@teasauce36082 жыл бұрын
GLFW grants total freedom - but in cost of your soul, however :)
@dr20231may Жыл бұрын
Do you mean that glfw require more coding than SDL?
@Carlos-kh5qu Жыл бұрын
@@dr20231may from personal experience, it's the same, most times you can copy paste glfw code and rename the functions, still SDL2 has much more features and tonnes of platforms and extensions for networking images etc
@ade53248 ай бұрын
i wish i viewed this video earlier, really would've helped with decision paralysis :)