Since I am following your video tutorial "Create 2D Game Engine using C ++ and SDL" and I got to episode 21, where I found a problem with the disappearance of the character, I bought your book. Would it be possible to access your video code 21 so I can see where I went wrong? I contributed to your project by buying your book (I am in a sense your patreon :-) ).
@kevincolgan6651
2 жыл бұрын
Just ordered on amazon Thanks
@Madsycode
2 жыл бұрын
great!!! think about leaving a review when you are done reading it!! it helps
@somebody_2837
Жыл бұрын
You said cross platform right? Well, SDL2 VC has .dll files, and .dll files don't run on any other operating system but windows, and I'm not sure if cmake can compile .dll files. I hope I'm incorrect, or I'll have to go through the burden of getting a linux.
@Madsycode
Жыл бұрын
SDL is one of the most cross-platform library that exists nowdays! Window Linu, Android, Ios, and much more! trust me I know what am talking about :)
@somebody_2837
Жыл бұрын
@@Madsycode No, .dll files won't run on any other platform (Even with cmake) , you'll have to cross compile your project. I looked it up and you cannot make your game cross platform with a single sdl package, other than the source code package.
@Madsycode
Жыл бұрын
@@somebody_2837 you clearly don't know what you are talking about! it's fine!🙂
@somebody_2837
Жыл бұрын
@@Madsycode What do you mean as in "you don't know what you're talking about"? .dll files won't compile for a mac or linux, unless if you run it on wine, which is an external program. I wanted you to clear my confusion, but you're just saying this. Please explain.
@Madsycode
Жыл бұрын
@@somebody_2837 Sdl is a cross platform library, forget about the .dll! There are .so files for linux platform
@robertstump7899
10 ай бұрын
working through the setup phase with SDL2 but on a Mac. Anyone familiar know if there are benefits to creating a macOS/includes directory to mirror the windows/includes directory, instead of just linking to the SDL2 files in the default location from homebrew? Once I have it working, is there a GitHub for the book where I can suggest code for people working through the book on a Mac?
@Madsycode
10 ай бұрын
You have the to the repository right? You can submit your code as a pull request i think
@robertstump7899
10 ай бұрын
@@Madsycode I should have..... but I flipped past those pages at the very beginning to get into the meat.... but I do now lol
@umen2424
2 жыл бұрын
keep the good work you have very good channel , when you say cross platform you mean mobile(iOS/android) and desktop (linux/mac/win) and xbox ?
@Madsycode
2 жыл бұрын
C++ is one of the rare programming language that can run on any platform! I only talk about Windows and Linux in the book but the cause base is built in such a way that it is really easy to extend to other platforms. Thx btw!!
@umen2424
2 жыл бұрын
@@Madsycode i know .. but there are bits and bites on each platform that need to ajust even in c++ . it will be cool to see tutorial that create game for all platforms from 1 code base using sdl2
@Madsycode
2 жыл бұрын
@@umen2424 I think there reason why the isn't is because people will only give you the foundation and it will be up to you to build on top of it!! it will be too mouch for a single vid!
@Murderface666
2 жыл бұрын
To be honest, 231 pages is quite short for such a big topic
@Madsycode
2 жыл бұрын
Yes you r right, but this is exactly why i believe the content of this book is important because I didn want to fill the book with a bunch of unneccessary info. but rather focus on what really mater! this book is not for a novice but for someone who wan't to use his progr.. knowledge to do something specific 👍
@Madsycode
2 жыл бұрын
let me know your thoughts!
@Milk-yi9hg
2 жыл бұрын
Is it a engine like unity or GODOT. Or is it more of a Library for making games like SFML and Raylib
@Madsycode
2 жыл бұрын
if your question is about an editor! no it has no built editor! but that can be done with imgui since it now support SDL2 backend as well!
@Milk-yi9hg
2 жыл бұрын
@@Madsycode what language does it use to program the games in, C++? Because i would like if it could be C# or Lua
@Madsycode
2 жыл бұрын
@@Milk-yi9hg it's C++ the language for game engines👍
@Milk-yi9hg
2 жыл бұрын
@@Madsycode I mean like what language do you use to make the games in. Like unity was made in C++ but you use C# to make the games.
@Madsycode
2 жыл бұрын
it's native scripting with c++!
@vincenzolamberti5658
2 жыл бұрын
The engine has a level editor because changing the position in the code is a bit of a process. And I would like to know if it is in 2d because in the tags there is 3d.
@Madsycode
2 жыл бұрын
it only 2D and no it has no Editor! i wanted to create the core because that is where people struggle the most"
@vincenzolamberti5658
2 жыл бұрын
@@Madsycode But haven't you already made the videos on the core?
@Madsycode
2 жыл бұрын
@@vincenzolamberti5658 what I made in the video serie 180 degree different from what i did in the book!! the video serie is really bad code!
@vincenzolamberti5658
2 жыл бұрын
@@Madsycode So in the book you created a better coded version of the core?
@Madsycode
2 жыл бұрын
@@vincenzolamberti5658 exactly! all the knowledge i gathered about all these years was poured out in the book!
@hudsonschumaker
2 жыл бұрын
I got a copy
@Madsycode
2 жыл бұрын
yop! glad to know that!! I would be glad to get your review as well even if it is not pleasant!
Пікірлер: 47