The ultimate introduction to Raylib [ 2D & 3D game dev ]

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 99

  • @raylibtech
    @raylibtech Місяць тому +64

    Wow! Great course! Congratulations! Thanks for sharing!

  • @mohitanand1844
    @mohitanand1844 Місяць тому +33

    You are good.i am unemployed but I keep doing your projects

  • @GustonExE
    @GustonExE Місяць тому +10

    it's been 1 YEAR am looking for python raylib tutorial and FINALLY i found one worthy

  • @dabunnisher29
    @dabunnisher29 Місяць тому +3

    ABSOLUTELY AWESOME!!! I have followed your GREAT tuts on Pygame and Godot, and now you made this for Raylib, which I am working with now! Thank you for all you do!

  • @guildedpickle4755
    @guildedpickle4755 Місяць тому +3

    I've been watching this almost non-stop for hours. This tutorial is incredible.

    • @guildedpickle4755
      @guildedpickle4755 Місяць тому

      1:09:53

    • @character640p
      @character640p 11 днів тому

      Watch it in 2x and you'll learn the whole video in 2.5 hours if you have basic experience python which is pretty cool.

  • @gianlucagiuman6132
    @gianlucagiuman6132 Місяць тому +11

    the course i've always been waiting for !!!

  • @SuperPuperCode
    @SuperPuperCode Місяць тому +4

    Всегда жду от этого гения туториалы!!! Хочу поблагодарить Вас за Ваш труд!!! Благодаря Вам тысячи людей научились важным аспектам разработки игр!!!!

  • @ghostinTheHaze
    @ghostinTheHaze Місяць тому

    Was looking for something like this 4 months ago. This is very well made and perfect, thank you so much for this, I'm going to do this when I have time between classes.

  • @aaabbb-gu5pz
    @aaabbb-gu5pz Місяць тому +2

    Thank, you, very, VERY much!!! Your video is one of the most important things happened around the RayLib!!! 👍

  • @blackholesun4942
    @blackholesun4942 Місяць тому +2

    Never heard of Raylib before so thanks for sharing this tutorial 😄😄

  • @lightyagami4530
    @lightyagami4530 Місяць тому +1

    OMG best day of my life
    been waiting for 3d games in pythom

  • @alessandrorossi1294
    @alessandrorossi1294 Місяць тому +1

    Thank you! Very happy to see this was done in Python, it’s nearly impossible to find good documentation on Raylib in Python before this!

  • @tiagodesousasilva5689
    @tiagodesousasilva5689 6 днів тому

    Thats crazy, just as i got curious about raylib, thanks dude!!!!

  • @DarshilSuryawanshi
    @DarshilSuryawanshi 8 днів тому

    Thanks for such a great tutorial on a game making tool like that

  • @jaobunny5933
    @jaobunny5933 Місяць тому +3

    no way. just started learning raylub yesterday then you drop this

    • @TheMarketingMan4U
      @TheMarketingMan4U Місяць тому +1

      Hi,
      I would like you to explain me the commercial use of python game development because that is the only motivation behind learning coding.

    • @jaobunny5933
      @jaobunny5933 Місяць тому

      @TheMarketingMan4U You can make commercial games with python, but the most of people use it just for fun. In my case, i make small games to play with friends in discord calls or to test something

    • @TheCommunistRabbit
      @TheCommunistRabbit 4 дні тому

      Commercial games have been made using python and released on steam. The advantage of python is that it is simple so it doesn't take too long to write code.
      The language also has many libraries and a stong community so you can probably guarantee support for it for decades. Although python versions might need updating

  • @mbray8899
    @mbray8899 Місяць тому +2

    You're amazing, thank you for your tutorials

  • @CodingWithSantanu
    @CodingWithSantanu Місяць тому +3

    I just love your way of teaching. The only thing I have to say is: Thanks.

  • @FantastikSever
    @FantastikSever Місяць тому +1

    I love the Brilliant sponsorship, keep up the good work.

  • @Alexander-d7s3j
    @Alexander-d7s3j Місяць тому +1

    This is crazy, I've been looking for a tutorial all day and whining because I didn't like any. You're amazing.

  • @tiborenyedi7001
    @tiborenyedi7001 Місяць тому

    Your channel is a treasure chest for aspiring devs. Thanks for all of your work!

  • @WiLDbEAsTGameSHere
    @WiLDbEAsTGameSHere Місяць тому +2

    bro i just finished 2 2d games in raylib and anted to learn 3d , you really read my mind

  • @joey546
    @joey546 Місяць тому +3

    You really outdid yourself here.

  • @agussw7328
    @agussw7328 Місяць тому +1

    Thank you for the tutorial.

  • @matthewb192
    @matthewb192 Місяць тому +2

    You lovely person. Thank you.

  • @adamrushford
    @adamrushford 18 днів тому

    What's uppp... omg can't wait for more!

  • @TechWithBeni
    @TechWithBeni Місяць тому +1

    DUDE YOU ARE AMAZING

  • @alisher.m
    @alisher.m Місяць тому

    Thank you very much!

  • @brennancurrier806
    @brennancurrier806 Місяць тому

    Gonna go through and try to adapt this tutorial to C++ after the company is over for the holidays. will see how it goes. I already have the library downloading/linking through cmake on both my windows machine and my old laptop that has linux on it.

  • @Galal-r1u
    @Galal-r1u Місяць тому +2

    I am just 11 years old and this the best in the world that even a child like me can understand it! Thank you very much!

  • @zaidkamil
    @zaidkamil Місяць тому

    You sir are amazing and incredible

  • @kgene521
    @kgene521 Місяць тому

    Great tutorial, thank you! One problem @timestamp 1:09:00: AttributeError: module 'pyray' has no attribute 'Vector2Normalize'. However, module raymath has a method called Normalize(...) with three arguments: value: float, start: float, end: float.
    Edit: I found the problem. It's not pyray but raylib.Vector2Normalize(...).

  • @amineyt4338
    @amineyt4338 Місяць тому +1

    Finally bro uploaded

  • @marionforge2769
    @marionforge2769 25 днів тому

    Thank you. please make RPG game next

  • @RickyRunyan-y1b
    @RickyRunyan-y1b Місяць тому

    Thank you youtube for a perfect recommendation! And to the creator, you deserve revenue for your time (everyone - like, subscribe, and share this gift!)
    i am likely going to rework my current game before i get any deeper into it. It cleans up the code as an extra perk. I won't overly mind giving up flipping bliting, lol. But, localities of variable issues will follow me everywhere i go 😂 until i grasp it fully. I am still learning to pass things around effectively to solve that. I feel like that is one of the main hurdles that shouldn't be avoided (because it is tempting to make things work other ways, but what a shortcoming that would be!)

  • @TheMarketingMan4U
    @TheMarketingMan4U Місяць тому +1

    That's amazing. I would like you to explain me the commercial use of python game development because that is the only motivation behind learning coding.

    • @BrandonS-lk2qc
      @BrandonS-lk2qc 17 днів тому +1

      No it's not. I don't give a hoot if I ever sell a game. For me PROGRAMMING games is just as fun as PLAYING them.

    • @TheCommunistRabbit
      @TheCommunistRabbit 4 дні тому +1

      People have made games using python and released them on Steam. Python is easy to write so you can develop faster and ship your game faster as a result.

  • @HoRRoRlets
    @HoRRoRlets Місяць тому

    You're a Machine...

  • @electronstudio6856
    @electronstudio6856 Місяць тому +1

    You shouldn’t need to import both the raylib module and the pyray module in most use cases. It doesn’t hurt but it will clutter up your autocompletions with unnecessary stuff. If there’s anything missing from the pyray module that is present in the raylib module please file a bug report.

  • @aloksah3627
    @aloksah3627 Місяць тому

    @ClearCode can you please please please make a tutorial on multiplayer in Godot 4? There aren’t many tutorials out there that explain it as well as yours.

  • @DarshilSuryawanshi
    @DarshilSuryawanshi 8 днів тому

    plz also consider making a video fot the raylib for C/C++

    • @TheCommunistRabbit
      @TheCommunistRabbit 4 дні тому

      You can translate this code to C++ bro. Replace list comprehensions with regular for loops. And classes can remain same

  • @CultureofSpeech
    @CultureofSpeech Місяць тому

    Lit , fascinating 😎

  • @mc-cd3od
    @mc-cd3od Місяць тому

    Awesome!!11!!!

  • @everabyss
    @everabyss Місяць тому +36

    In C or C++ would be appreciated.

    • @Rubyd777
      @Rubyd777 Місяць тому

      there are lot of articles for c and cpp why dont you just google.

    • @felixabbott126
      @felixabbott126 Місяць тому +6

      The logic is the same, not much changes. After watching a video on the basics on C++ or C you should be able to follow along

    • @tempotempotempo
      @tempotempotempo Місяць тому +4

      it’s the same thing in the c syntax

  • @marcosgarrido2993
    @marcosgarrido2993 Місяць тому

    It is so cool to see that Raylib has native shader support! Although it can be archieved with Pygame, another library such as ModernGL is required to access the rendering pipeline. I am considering giving Raylib a try! Thanks for the video, love your work

  • @username-y2f4p
    @username-y2f4p Місяць тому

    what about ursina and what is for another project(can you make a very big zelda like 2d game in godot
    )

  • @khaledlabidi7163
    @khaledlabidi7163 Місяць тому

    Another python video 🎉❤❤

  • @rivendanta2073
    @rivendanta2073 Місяць тому

    Nice❤❤❤

  • @lifeislight913
    @lifeislight913 Місяць тому

    Can you cover vba in excel ? By the way Your teaching style is awesome ♥️💕

  • @AutMouseLabs
    @AutMouseLabs Місяць тому

    I'm really enjoying the tutorial, but what is the advantage to Raylib with Python over just using Pygame-ce? Thanks!

    • @ClearCode
      @ClearCode  Місяць тому +1

      raylib can do 3D easily, gives you shaders and runs faster than pygame

  • @jetmarkos2911
    @jetmarkos2911 Місяць тому

    is "update" and "draw" function a built in function or something you named yourself? Could you name it anything and still have the same affect?

    • @ClearCode
      @ClearCode  Місяць тому +1

      could be anything :)

  • @manchunyu843
    @manchunyu843 Місяць тому

    Aw man I was just following your tutorial on Pygame, got distracted by Advent of Code and you released this. Can somebody explain to me what are the differences between Pygame and Raylib and when to use which? I am think which one should I dedicate my time in...

    • @GbyG_Ruslan
      @GbyG_Ruslan 22 дні тому

      Pygame is only 2D and slower.
      Raylib is 2D and 3D, faster, and more efficient. Unlike Pygame, it is used much more widely by developers in various languages. The downside of Raylib is that there are few educational materials. Otherwise, use what’s more convenient. I personally prefer Raylib because, no matter what language you write in, there’s probably a binding available, and you won’t have to learn it all over again. Pygame, on the other hand, is only for Python.

  • @AistinaBer
    @AistinaBer 16 днів тому

    Can you make tutorial for MonoGame?

  • @anantpankaj1460
    @anantpankaj1460 Місяць тому

    love the video..btw which has better performance raylib or pygame...and plz make a multiplayer godot 2d game...there are no tutorial for that

    • @ClearCode
      @ClearCode  Місяць тому +1

      raylib seems to have better performance although I don't think it matters for 2D games

    • @theoddonceextraordinary7172
      @theoddonceextraordinary7172 Місяць тому

      ​@ClearCode Thanks bro...plz make godot multiplayer game❤

  • @NamanGarg-n1p
    @NamanGarg-n1p Місяць тому

    Bro where do you procure assets for games which are made on pygame

  • @NJAgain
    @NJAgain 19 днів тому

    Some more logic for the constraints to make them work with the top-left placement:
    self.pos.x = max(0, min(self.pos.x, WINDOW_WIDTH - self.texture.width))
    self.pos.y = max(0, min(self.pos.y, WINDOW_HEIGHT - self.texture.height))

  • @StellarHarbour
    @StellarHarbour Місяць тому +1

    Why not C?

    • @TheCommunistRabbit
      @TheCommunistRabbit 4 дні тому

      Because then the video will be 8 hours long since most ppl don't know C.

    • @StellarHarbour
      @StellarHarbour 4 дні тому

      ​@@TheCommunistRabbit C is simpler than Python overall. The only tricky part is pointers, but at least there's no OOP or other unnecessary complexity

  • @chriswinslow
    @chriswinslow Місяць тому

    Great tutorial. I’m sure many subscribers will find this valuable. For me though, I would have thought Christmas had arrived early if this was all done in C++ instead.

  • @sandorpuzsoma5034
    @sandorpuzsoma5034 Місяць тому

    you have 1920x1080 as your window size. How do you that so it doesn't cover the whole screen?

    • @TheCommunistRabbit
      @TheCommunistRabbit 4 дні тому

      His monitor is probably 4k, while yours is 1080p (1920x1080)

  • @pevt-dev
    @pevt-dev 20 днів тому

    sir, can i use ruby instead?

    • @ClearCode
      @ClearCode  19 днів тому

      you can! www.raylib-ruby.com

  • @JohnSmith952
    @JohnSmith952 Місяць тому

    Does Raylib supports exports to android mobile devices?

  • @karim.mostafa
    @karim.mostafa Місяць тому +1

    I need such a course but with C++

  • @mehmeh8883
    @mehmeh8883 Місяць тому

    W, gonna use this with C hehehehehe

  • @beebstergames7348
    @beebstergames7348 Місяць тому

    Too bad this wasn't in C/C++. It looked very interesting. It might have helped me move from SDL3 to RayLib.
    Porting examples from Python was a little to much for me to attempt

    • @TheCommunistRabbit
      @TheCommunistRabbit 4 дні тому

      What do you mean bro? This code will be nearly identical in C++.

  • @Chernov1984
    @Chernov1984 21 день тому

    +!

  • @MowiWowi
    @MowiWowi Місяць тому

    I need a good pygame cheatsheet

  • @NSA.
    @NSA. Місяць тому

    3d python????

  • @ohimdabiggestbird
    @ohimdabiggestbird Місяць тому

    raylib or pygame
    please reply to my comment, i beg

    • @ClearCode
      @ClearCode  Місяць тому

      if you want to make a 3D game then Raylib is your only choice; for 2D it doesn't really matter: Raylib runs faster while pygame makes it a bit easier to place elements via rects.

    • @ohimdabiggestbird
      @ohimdabiggestbird Місяць тому

      @ClearCode what about mobile game development, i know there is a way to compile to android with raylib in c++, what is the situation with raylib-py

    • @ClearCode
      @ClearCode  Місяць тому

      @@ohimdabiggestbird should be possible with Python and raylib although I didn't look too much into it.

    • @KakarotSaiyan-v5p
      @KakarotSaiyan-v5p Місяць тому

      ​@ClearCode I really like your UA-cam tutorials. Can you please make, and upload, A UA-cam tutorial, that teach us how to make all different types, and genres of 2D games. Using Godot and GD script, like Megaman, Megaman battle network , Pokémon, Digimon, super mario world, Zelda etc. that is relatively beginner friendly, and cover step by step how to make and code different types of games, in Godot and GD script. Preferably a single video tutorial. I will deeply appreciate from the bottom of my heart, if you did this please.