7 years later and this vid still helping people, apprecaite you.
@raystamp58 жыл бұрын
Hi Mike, great review! Thank you very much! Seeing the review I noticed I have to update a couple of things... ;)
@jak08164 жыл бұрын
thanks so much i just spent 2 hours mucking around with sdl libraries in eclipse and now i click 1 install button and i can start programming
@edwardangelesmedina29198 жыл бұрын
I wanted to learn C with a game library a few weeks ago, but the solutions out there were too complicated for me. I'm definitely checking this out!
@firstname43378 жыл бұрын
SDL is also C library most of the tutorials you'll find are written in C++, but the API is C its interesting raylib is using GLFW 3 (the newest version) -- that's good so it might be easy to port to linux or iOS
@raystamp58 жыл бұрын
Actually raylib works in Windows, Linux, OSX, RaspberryPi, Android, HTML5 (Web) and Oculus Rift but the installer and tools are just for Windows. It's a C library with minimum dependencies, it can easily run in almost any platform.
@kopuz.co.uk.7 жыл бұрын
Hey mac/windows user: you named Linux then named a bunch of Linux operating systems....
@MrAlbinopapa6 жыл бұрын
While I can't tell you what 80-90% of what the features Visual Studio do, I can say I enjoy having a complete experience in one program; such as editing, creating classes and compiling. There wasn't a huge learning curve to be honest. I'm sure you can find a crap ton of tutorials on how to use an IDE. I do use N++ for things like Lua scripts, but one of the features I've come to rely a lot on in VS is intellisense. It helps prevent typos, most syntax errors and other things N++ or any other plain text editor won't do. I can step through he code line by line to debug and so on. As to your comment about learning about the linker and such before starting to make games...that's a load of crap. Check out chilitomatonoodle's channel, He'll get you up and running learning C++ and making simple games, teaching some math and even a little computer science ( albeit very introductory ). One of the things that scared me about starting C/C++ was the command line entry to compile a program. I thought "man, I have to write this long ass line every time I want to compile my program, forget that". VS takes care of all that for you. Oh, and C sucks. Not really, just trolling. I hate C for a few reasons that mostly have to do with being spoiled by C++; namespaces, function and operator overloading, RAII, classes, references, move semantics and copy elision just to name a few. I've tried making a few things in C, while it is pretty similar, names become longer with the lack of namespaces and classes. Explicit function naming and calling for each variant was a pain. Having to remember and keep track of memory ownership, allocation and deallocations: RAII and move semantics are way better than garbage collector or manually tracking ownership. Return by value with copy elision is so much nicer than having to creating an object and using in/out parameters. And having to create functions named: vec3f_add, vec3f_sub, vec2f_add, vec2f_sub is ridiculous. It feels more intuitive to use + or - for add or subtract. TL'DR: Don't scare people when they don't need to be. Yes, N++ is a text editor that has some formatting for programming languages, but it is not a compiler. You still need the MinGW to make it work, so why not take a little extra time and learn Visual Studio or ANY other Integrated Development Editor ( IDE ) and make your life much more simple. For those that want to experience the speed of C with the flexibility of C++, use SFML. It's written in C++ (C++03 so doesn't have all the newest C++ features ) and has window creation, font rendering, compatibility with native OpenGL calls, 2D sprite and text rendering, audio and networking. Peace.
@muralkz7 жыл бұрын
you can reset the default installation path by changing some value in register in windows
@Anubis101103 жыл бұрын
Epic, Thank you so much. That was really neat and straight forward.
@lampion223 жыл бұрын
don't know if anyone will reply, but my autocomplete on notepad++ for the current version of raylib doesn't work. any idea what the solution is?
@blendjams4 жыл бұрын
How do i set this up with c++?
@CCV3348 жыл бұрын
This looks like exactly what I need! On a side note, I found this javascript library for making games that I'd like your input on. It's called p5.play
@joshodom90467 жыл бұрын
"I wish this was an optional parameter" -- but C doesn't support optional parameters
@TheGabrielMoon8 жыл бұрын
Amazing library to work with C lang
@matthew40308 жыл бұрын
Really neat!!! might have to might have to do something with this on my PI.. I'm still a fan of SFML :P
@roberttrinity5247 жыл бұрын
PLEASE HELP, if i run the program once, i would not run again and say ACCESS IS DENIED but it runs the first time
@XxxGuitarMadnessxxX5 жыл бұрын
Granted it's a year late, but typically that's a security read/write access for the program. Probs why he adamantly stated he hates things default installing to the C: drive, it's basically your OS drive for the most part and has security features to protect exe files from changing things in the dir. You can bypass it by granting administrative rights to the folder/program of you're an admin on the computer in the properties tab when you right click the folder/.exe or just move everything and anything it references out of the c: drive and I believe that will work too. First advice for sure though second one, pretty sure but not entirely
@andreasteucke30908 жыл бұрын
Does n++ in raylib have a syntax checker?
@raystamp58 жыл бұрын
Notepad++ for raylib has been specifically prepared with syntax check and raylib functions intellisense. Notepad++ for raylb also comes with a set of predefined scripts to compile for multiple platforms and recompile source code in multiple flavours.
@skullkil8 жыл бұрын
is this any good for actual production? also why is ios and mac missing?
@raystamp58 жыл бұрын
raylib is primary intended for learning. I really believe it could be used for production but there is no commercial game in the market yet. Nowadays developing professionally in plain C is too spartan... but not impossible...
@openroomxyz3 жыл бұрын
Do you still recommend it?
@fabiancisneros30073 жыл бұрын
Thanks a lot man!
@jackspin71028 жыл бұрын
It looks like libgdx for C++
@greenheart53348 жыл бұрын
java > c++ and therefore libgdx > raylib :)
@noxabellus7 жыл бұрын
lmao what fucking alternate universe bizzaro world are you from Green Heart?
@overflwn32147 жыл бұрын
noxabellus to be honest Java is easy to get into and a very good language to begin with learning to program. I started with LUA, got to Java after that and then started to learn python, c# and a bit of c++. In the end it just depends on the user. (I for example like how c# and java work as object oriented programming languages..)
@noxabellus7 жыл бұрын
Oh yes I definitely prefer an object oriented language. I just don't know where greens coming from at all saying that its just objectively better. You have to at least take into account the potential target platforms and what is involved for your end user. In the case of java you have to have a java vm installed on your machine to use a "standalone" java application. I'd say even Javascript is better in that regard. So it's just hard to imagine how you could think it was _objectively better_ rather than just "more comfortable to program with"
@overflwn32147 жыл бұрын
noxabellus I think in his case it's more like: sure you have to have the vm installed BUT whenever you package your code into a jar, you can expect it to run on most of the platforms without repackaging it. C++ on the other hand has to recompile for every platform you want to put your project on. But yeah as much as I like Java, I have to say that my experience regarding performance is really bad. I realized that Java programs take up way more resources than a compiled version (for example in C++) probably because of the VM
@firstname43378 жыл бұрын
go ahead and hit F6 BOOM ha ha ha you have a loud keyboard
@gamefromscratch8 жыл бұрын
I just use an Apple chicklet style keyboard... it's the location relative to the mic and the... let's say... force with which I hit the key :)
@Person-hb3dv4 жыл бұрын
lol
@epiceditiongames46778 жыл бұрын
Lol gotta hit that ctrl+s after every line
@luiza41428 жыл бұрын
what language i use c++ || c# for create a game?
@gamefromscratch8 жыл бұрын
I'm not sure I follow. It's written in C if that's what you are asking.
@jsonkody5 жыл бұрын
It C library .. not C++
@XxxGuitarMadnessxxX5 жыл бұрын
He corrected himself lol but regardless it has bindings for several languages so it can be used in multiple languages, it's just written in c
@hbiblia4 жыл бұрын
C
@ThaerRazeq8 жыл бұрын
Hmmm. No RAII? unloading a texture for a non-pointer object should happen automatically. Bad, design.
@ThaerRazeq8 жыл бұрын
I mean using its destructor at the end of scope.
@zerodarkzone8 жыл бұрын
This engine has a really good design. The engine is made with C. C has no constructors nor destructors so you cannot use RAII. If you want to use C++ features then you could make a wrapper to encapsulate the functions and the C structs together.