Why is Raylib becoming so popular?

Поделиться
HTML-код
  • Опубликовано: 29 янв 2025

Комментарии • 66

  • @kidpudel
    @kidpudel 9 месяцев назад +45

    I’m using Raylib-go and i love it. This framework gives you just the right amount of abstraction, so you have all of fundamental blocks of functionality for all basic aspects of the engine (that’s made very easy), yet you are not bound to the engine, you are free and productive

    • @undeadpresident
      @undeadpresident 9 месяцев назад

      I was hoping that would be the case and it very initially appeared that way until I tried to add lighting to a model and couldn't get it to work.

    • @zZGzHD
      @zZGzHD 7 месяцев назад

      @@undeadpresident I've found that it's counter-intuitive in Go to do shader stuff because you gotta get into the "unsafe" package.

    • @distantforest2481
      @distantforest2481 6 месяцев назад

      And unfortunately there is no web support

  • @replikvltyoutube3727
    @replikvltyoutube3727 10 месяцев назад +117

    It's simple, easy to embed using C FFI. Handles most of what is needed.
    And also because of tsoding.

  • @Siroitin
    @Siroitin 9 месяцев назад +17

    Raylib is also good for statistical and simulation visualization when there is a lot of particles and nodes

  • @nexovec
    @nexovec 9 месяцев назад +27

    I've had some limited exposure to SDL couple years back and it felt ancient. No wonder there is such demand for a simple unifying API with bindings for a lot of languages that's also not older than you. Where else are these people supposed to go?

    • @grimvian
      @grimvian 9 месяцев назад +1

      Me too, I was not compatible with SDL, but Raylib YES!

    • @xravenx24fe
      @xravenx24fe 7 месяцев назад

      SDL is very nice IMO but yeah, it only abstracts so far and there's some learning involved in just using it. Docs are great though and tutorials been around for years

  • @cariyaputta
    @cariyaputta 16 дней назад +2

    I love writing cross-platform apps in C and Clay (with Raylib as the engine).

  • @ske2004
    @ske2004 9 месяцев назад +20

    i wish the C bindings didn't clash with Windows API, preferably had some sort of optional rl_ prefix

    • @colleagueriley860
      @colleagueriley860 9 месяцев назад

      Yep, doesn’t seem like something Ray is going to add tho

    • @jasonpenick7498
      @jasonpenick7498 8 месяцев назад

      There are a lot of design choices like this, and like the other commenter pointed out Ray is not going to change them. He has an overly stubborn and asinine view on LOTS of things, which is why I do not use Raylib. Its a solid idea, screwed up by one mans insistence on being retarded.

    • @alrshdn
      @alrshdn 7 месяцев назад +9

      The API and bindings are all open-sourced. Find and replace all instances, re-compile, and done. I think it is worth it.

  • @iamdozerq
    @iamdozerq 9 месяцев назад +78

    Cos tsoading using it lol?

    • @harrisbuild
      @harrisbuild 9 месяцев назад +6

      cos he's the only one you know whose using it lol?

    • @ilikegeorgiabutiveonlybeen6705
      @ilikegeorgiabutiveonlybeen6705 9 месяцев назад +2

      exactly lmao

    • @henrikholst7490
      @henrikholst7490 8 месяцев назад +2

      For me that is 100% true. ;-)

    • @CitizenCoder
      @CitizenCoder 5 месяцев назад

      I don't even know who that is 😂

    • @iamdozerq
      @iamdozerq 5 месяцев назад +2

      @@CitizenCoder check it out, quality over everything else

  • @scoo73r
    @scoo73r 9 месяцев назад +8

    I just started learning go and I plan to use raylib for gui elements of programs and experiments more than I do games.

  • @nerdobject5351
    @nerdobject5351 3 месяца назад +7

    For reasons to use a library like RayLib over Godot or unity I would also add that the skills are more transferable. Let’s be honest most us won’t end up as commercial game devs but learning C++ translates very well in most programming jobs.

  • @HistoricFacts1227
    @HistoricFacts1227 Месяц назад +4

    I wanted to get started quickly with c++ programming without the hassle of configuration. I tried SFML but it was very tedious. Raylib on the other hand was simple to install and i could progress faster

  • @benbowers3613
    @benbowers3613 9 месяцев назад +5

    What I'd add to the library vs GUI engine is it really matters if you are working on the game solo, or if you need to collaborate with non-programmer artists. If you are collaborating with artists and level designers, the GUI is more for them than for you. Level designers need a "Halo Forge Mode," if you will.

  • @coinopanimator
    @coinopanimator 2 дня назад +1

    I’m learning cpp after I am a complete noob but I chose to go this way over Godot or learning python because I wanted some transferable skills that I could use for non game projects. I figured cpp is the end goal so why not just focus on the one thing (the hardest). So I’m loving the decision and discovering that I really like cpp - so clean and pedantic.

  • @bibliusz777
    @bibliusz777 9 месяцев назад +6

    I use Bevy and want to transition to just wgpu, ECS and my utils

    • @encentaber6653
      @encentaber6653 9 месяцев назад

      does bevy give you too much overhead? i.e. performance concerns

    • @bibliusz777
      @bibliusz777 9 месяцев назад +1

      @@encentaber6653 no. i just don't like frameworks - i prefer having just what i need

    • @dinhero21
      @dinhero21 Месяц назад

      @@bibliusz777 I like bevy because it (or at least seems to) allows you to write code once and compile to multiple targets
      are you planning on doing that yourself? (probably not as just thinking about it is painful)

    • @bibliusz777
      @bibliusz777 Месяц назад

      @@dinhero21 No. I want to develop tools, but I am not paid for that. Now I search for projects with high expected return.

  • @undeadpresident
    @undeadpresident 9 месяцев назад +3

    I've been messing with raylib for the past week and was excited when I realized how easy it was to load and render a 3d model. But as soon as I tried to add lighting I hit a brick wall and couldn't do it.
    The basic lighting example program works but when I add my own model it won't light it. So I dug into the code and it appears no less complicated than doing it straight in opengl. Perhaps even moreso because raylib is automatically assigning uniforms and it's a huge pain in the ass to figure out what the hell is going on or what is going wrong.

    • @PixelThorn
      @PixelThorn 7 месяцев назад

      So what's the Conclusion? Don't use Raylib?

    • @undeadpresident
      @undeadpresident 7 месяцев назад +1

      @@PixelThorn Well I didn't find it usable for doing 3d stuff for the reasons above.
      It has a lot of really good things about it though. It comes with an editor that is simple and convenient, and a lot of example programs, including custom shaders that have good educational value even if you don't plan on using them directly.
      It also has a lot of features that are useful, and the overall interface is much more user-friendly than using SDL for example.
      Basically it has a lot of boilerplate stuff pre-packaged that can save you the burden of doing yourself.
      However, in order to customize things, if you aren't already familiar with how those things are done, you will have to take the time to figure out both how they work and how Raylib is implementing them.
      In my own case I decided to just learn OpenGL and figure out how to load models and apply lighting from scratch. Which I've been able to do finally, but has been a lot of unpleasant work.

    • @chpsilva
      @chpsilva 3 месяца назад +1

      I've been playing with raylib for pure and simple 2D gaming and it's a blessing. It simply does not get in the way, takes care of the annoying boilerplate code you'd need witrh other solutions, let you focus on the game itself. But maybe for 3D games it's not the right answer, and something like Godot or Unity would work better.

  • @Xero_Wolf
    @Xero_Wolf 18 дней назад

    If you're used to programming already then you'll be right at home with raylid or other frameworks. It's more for the technical folks that already have an idea of what they're doing and are looking to build their out engine on top of it. On the other hand if you are new to coding and looking for a way to get started in game dev, an engine like Godot is the best way to go. Engines like Godot are especially suited for designers and technical artists.

  • @tx6723
    @tx6723 3 месяца назад +1

    support for windows.h?

    • @chris_php
      @chris_php  3 месяца назад +1

      There is a workaround to use window.h with raylib. Raylib uses some of the same name conventions as windows.h.

    • @tx6723
      @tx6723 3 месяца назад

      @@chris_php Yea ,Can you show me the workaround?

    • @chris_php
      @chris_php  3 месяца назад +1

      I believe you have to use cmake to create the workaround. But I don't use Linux so I'm not entirely sure.

  • @SomeRandomPiggo
    @SomeRandomPiggo 8 месяцев назад +1

    Raylib is nice but for more serious projects I either use OpenGL directly or rarely SFML

    • @iknowwhoyoupretendiam
      @iknowwhoyoupretendiam 2 месяца назад +1

      Nice. I'm starting my learning journey with OpenGL, C/C++ and more low level gamedev.
      What libraries do you generally use for getting the opengl functions and creating windows/context? I've seen people recommending a GLFW + GLAD setup.

    • @SomeRandomPiggo
      @SomeRandomPiggo 2 месяца назад +1

      @iknowwhoyoupretendiam That's great! I use GLFW with GLEW now, used to use GLAD but I don't really think it matters much. GLEW is just always the same whereas GLAD needs to be customized for each usecase. I made a basic demo with only X11 through GLX, was fun but I don't recommend it for serious usecases

  • @0000kk
    @0000kk 9 месяцев назад +3

    I think start citizen uses lumber yard

    • @xormak3935
      @xormak3935 8 месяцев назад +3

      It uses the so called Star Engine, which, at this point, is basically a heavily modified version of Lumberyard which in itself was a heavily modified version of CryEngine.

  • @zanagi
    @zanagi 9 месяцев назад +1

    So its like a Util? well at that size its a framework i guess...

  • @happygofishing
    @happygofishing 7 месяцев назад +3

    Raylib will probably surpass pygame in popularity.

  • @tx7300
    @tx7300 9 месяцев назад +18

    that comparison with game engines isn't very apt.
    yes obviously something like raylib is awesome for getting into game engine programming without building absolutely everything from scratch, but if you set out to make an actual *game*, you're going to end up reimplementing the same patterns and abstractions present in pretty much every game engine ever in some shape or form.
    it doesn't really mean anything that it's "more familiar" to a non-videogame programmer, because making any game that holds up to any sort of modern standard (not talking about AAA, this applies to anything that sells as a game on steam for at least a dollar, or something you see made for a 48 hour game jam) will require you to learn how to program a *game*, which is something very complex and deep, which programmers with experience in other fields might see as very alien.
    so in any case, what you'll be doing will be unfamiliar. a proper game engine (i.e. Godot) allows you to only need to get familiarized with some basic abstractions like scenes and nodes (which typically exist in other engines with names such as rooms and entities), but not have to deal with any of the heavy lifting that requires months if not years of study like collision, lighting, shading, rendering, optimization, and so on. the programming itself is exactly the same, thus the barrier of entry ends up being far lower than if you had to code your own game from scratch.

    • @undeadpresident
      @undeadpresident 9 месяцев назад +1

      raylib seemed all fine and dandy to me until I tried to add lighting to a test model then I couldn't get it to work. Looks like to get it to work I have to not only know how to do it from scratch in opengl but also figure out what raylib is doing automatically vs what it isn't, and where the data is going which is considerably difficult.

  • @wlcrutch
    @wlcrutch 7 месяцев назад +1

    Good f**king question!

  • @Yamu_168
    @Yamu_168 6 месяцев назад +1

    If you do more raylib/c++ videos I might join(pay money)

    • @chris_php
      @chris_php  5 месяцев назад

      Thanks! I mostly tutorial related videos in python using raylib and explain it as clearly as possible so it can be implemented in any language. I have been using Odin recently which is a C like language.

  • @adamrushford
    @adamrushford Месяц назад +1

    very useful

  • @futotta-neko
    @futotta-neko 9 месяцев назад +5

    Currently learning networking programming using raylib, and Rust™

  • @MrSomethingdark
    @MrSomethingdark 2 месяца назад

    Yeah coming from 3 days of trying to set up SFML and their obnoxous forums and staff

    • @Luno2137
      @Luno2137 2 месяца назад

      If it took you 3 days to set up SFML you’re more than likely not ready to create a game with either of the frameworks bud

    • @MrSomethingdark
      @MrSomethingdark 2 месяца назад

      @Luno2137 hey pal, when the guide says to include everything but some obscure advice from someone nobody notices actually solves it then ask yourself why is nobody explainig it? See at this point if you had anything to add to the topic you would rip through linking, preprocessor and versions but nah. You dont know it either yet you don't ask about it. All you have is the 3 days information I gave you so you take that and say uhhh my guy uhh bud uhh guy you not good. Jeez dude go ahead explain C++ linking in VS GO AHEAD DO IT RIGHT NOW HIC RHODOS HIC SALTA. RIGHT FU NOW

  • @omerjawhar
    @omerjawhar 7 месяцев назад +1

    I loved it until I wanted to attempt to develop a basic 3d game

    • @chris_php
      @chris_php  7 месяцев назад +1

      Yeah when it comes to 3D you will have to start using opengl in order to have the scene lit and such