Get Started in raylib in 20 minutes!

  Рет қаралды 29,462

Programming With Nick

Programming With Nick

Күн бұрын

Пікірлер: 65
@programmingwithnick
@programmingwithnick 4 ай бұрын
I hope you took away lots from this video. Let me know below! PS: I created course named "Object Oriented Programming Made Easy"! Sign up at programmingwithnick.com/course. Enroll now and a 50% launch discount. The discount ends in a few days.
@mdude336
@mdude336 2 ай бұрын
I find your voice and teaching style very soothing. What a superpower! Thanks Nick.
@docboisgameplay4245
@docboisgameplay4245 6 ай бұрын
no kidding THE BEST EXPLAINATIONS AND PERFECT PACE of teaching
@Yamu_168
@Yamu_168 6 ай бұрын
Thats why I subbed and im paying money per month to this guy
@jozegota
@jozegota 9 күн бұрын
awesome video. First one that could actualy get me started on raylib. Thanks nicco!
@danielnkunga6640
@danielnkunga6640 Ай бұрын
Excellent tutorial! I was lucky that all actions you preformed worked for me first try (if not very fast afterwards) and I was able to get my ball moving in just under 30 minutes! You were incredibly thorough in explaining what you were trying to do and the tutorial rarely felt slow. I'm happy just getting things to print onscreen and I'm excited to continue down your series of tutorials! P.S: I sucks to see a lot of the other comments be so negative. I got worried when I was first watching just because it looked like everyone else was being so pessimistic about everything. If your someone else also reading the comments mid tutorial, stick it out. It becomes really apparent who gave up at the first thing they didn't like and they really missed out on a great, stupid simple introduction.
@programmingwithnick
@programmingwithnick Ай бұрын
Thanks for the feedback!
@starydobrymagazyn8592
@starydobrymagazyn8592 3 ай бұрын
finally I was able to use raylib with c++, thanks!
@MTSEntertainment
@MTSEntertainment 5 ай бұрын
Thanks, great tutorial. Everything is well presented. Raylib basics and introduction to game development. This is beautiful!
@jamesoliphant8178
@jamesoliphant8178 Ай бұрын
I really enjoyed that thank you! I am looking at Raylib as a potential replacement for SDL2 for my Advanced Programming students and I think its a winner. SDL was great but the setup on the school computers was a pain and I worry about my students trying to set it up on their own at home. I like that Raylib is simpler to setup. It also hides away a lot of the pointers and references that SDL uses and simplifies a lot of other things to.
@shivambhanu2757
@shivambhanu2757 21 күн бұрын
Very helpful. Clear and Concise. Thanks
@VoidloniXaarii
@VoidloniXaarii 7 күн бұрын
Thank you, RayLib seems impressive
@jm98675
@jm98675 2 ай бұрын
your youtube channal is awesome! Thank you for sharing your knowledge
@naomigoreng
@naomigoreng 2 ай бұрын
Thank you, your teaching is superb!
@happygofishing
@happygofishing 11 ай бұрын
Raylib is beautiful.
@PektraNao
@PektraNao 5 ай бұрын
What if I don't want to use your template from you repository. How do you setup everything? Let's say I've installed raylib in my directory C: aylib, then what now?
@chouaib1ba
@chouaib1ba 2 ай бұрын
Did you find out how?
@danielnkunga6640
@danielnkunga6640 Ай бұрын
I don't know how fat you gave up on this tutorial but the first thing he does after having you run his program is to delete all of the files related to making that program work [aka: "ball.h", "ball.cpp", and all code in main.cpp]. He has you start from an empty main.cpp file and make a simplified program from scratch. I think the main point of having you clone his repo is to make sure everything downloaded/was set up properly. That being said, you do keep all the other files. The seem to be more on the GitHub/VSCode side to make sure uploaded projects can be cloned and replicated properly but I do understand if that's still a no-go for you. @PektraNao @chouab1ba
@CoolStop2
@CoolStop2 6 ай бұрын
It says "fatal error: raylib.h: No such file or directory" when I run it with mingw g++ instead of f5
@samg5183
@samg5183 11 ай бұрын
thanks, dont stop,
@juicelizard
@juicelizard Ай бұрын
If you make two separated blocks for X movements and Y movements, you could move your ball in 8 directions.
@Aye_Sid
@Aye_Sid Ай бұрын
Thanks sir. 🙂🙌
@chriswinslow
@chriswinslow 11 ай бұрын
Just one minor thing. Within the game loop, you created 3 sections: 1. Event Handling, 2. Updating Positions and 3. Drawing. You typed code for sections 1 & 3 but nothing in 2. For totally beginners who this is aimed at could be left what should have been added there, when in fact the object position is within section 3, Drawing. Otherwise good getting started raylib tutorial. Not many of these about!
@diegoaredes2721
@diegoaredes2721 11 ай бұрын
Thanks, teacher.
@2000jago
@2000jago 11 ай бұрын
Yes! C++ thumbs up.
@zattirizortzort486
@zattirizortzort486 11 ай бұрын
I get this error: fatal error: raylib.h: No such file or directory
@ahmaddafasalam5615
@ahmaddafasalam5615 8 ай бұрын
same, can anyone give us the solution?
@cybernit3
@cybernit3 8 ай бұрын
If you are in Windows you have to make sure the environmental variables is set for your include directory with the windows terminal or the ide you use. On Linux make sure you copy the includes into the /usr/include/ directory the files "raylib.h" and "raymath.h"
@PraviLukijanJC
@PraviLukijanJC 7 ай бұрын
Use the template and it should work I got the same error at the start
@zattirizortzort486
@zattirizortzort486 5 ай бұрын
@@ahmaddafasalam5615 I solved it a while ago, but I think I just deleted all my settings in vscode and it fixed the issue
@sujezz
@sujezz 11 ай бұрын
We kinda wanna know how to set it up not how to download your template.
@user-ob5hj5vn8c
@user-ob5hj5vn8c 10 күн бұрын
The answer: It's very complex. You need to learn how Makefiles work, how C include works, how linking works, and you need to find an appropriate compiler that works with you and your host OS
@eradawnz
@eradawnz 19 күн бұрын
cannot open source file "raylib.h", fatal error: raylib.h: No such file or directory I followed the exact instructions on windows.
@2Scared2notTry
@2Scared2notTry 18 сағат бұрын
when I go to download raylib there is no option where the compiler is included pls help
@programmingwithnick
@programmingwithnick 17 сағат бұрын
Don't worry, if you download this file: raylib 5.5 Windows Installer (64bit) (647 MB) the compiler is already included.
@2Scared2notTry
@2Scared2notTry 16 сағат бұрын
@@programmingwithnick Thanks man
@aaabbb-gu5pz
@aaabbb-gu5pz 11 ай бұрын
The RayLib is more interesting with this that it is full 3D, not only 2D like the popular SFML and SDL. So, 3D tutorials about RayLib have more sense!!!
@mamo385
@mamo385 5 ай бұрын
Thank you
@krzyszt0fus
@krzyszt0fus 11 ай бұрын
What about creating a basic desktop tool with some UI widgets? 😅
@ivana.medina3126
@ivana.medina3126 3 ай бұрын
GREAT!
@Thijmen-g3g
@Thijmen-g3g Ай бұрын
It finally raylib works! But, how can I add rlgl?
@CrispySmiths
@CrispySmiths 3 ай бұрын
are the steps different if you are on a mac?
@srpskihayk
@srpskihayk 8 ай бұрын
I just get a bunch of undefined references.
@cybernit3
@cybernit3 8 ай бұрын
with gcc? gcc -Wall -o "%e" "%f" -lraylib See I put -lraylib "%e" "%f" and got those error messages... I hope that helps I had the same problem and scratched my head, wtf...
@Sibogrillen
@Sibogrillen 18 күн бұрын
There is no main.code-worksapce?????????
@krzyszt0fus
@krzyszt0fus 11 ай бұрын
Great material, few comments: the color green is a constant, 3 should be replaced with a speed constant, 20 is a "magic number" too, with the presented key handling you are not able to go on diagonal
@ABV167
@ABV167 Ай бұрын
it not working, i am getting "no file file directory"
@ahmaddowedar
@ahmaddowedar 5 ай бұрын
how to open the template project using visual studio, please? (not visual studio code) thanks! :)
@loganfrank8662
@loganfrank8662 3 ай бұрын
so what happens if the ball stays still
@programmingwithnick
@programmingwithnick 3 ай бұрын
The loop will still run, printing the still ball 60 times per second!
@To.oTNova
@To.oTNova 11 ай бұрын
Well Do any one know how can we make a menu screen where we can either select with keyboard or with mouse
@dyamimc
@dyamimc 8 ай бұрын
You need to create an invisible rectangle around the button/word you want to click on. Get the mouse position as a vector and then check if mouse click is released while the mouse position is within the collision of the invisible rectangle On break at work, so speed typed this. I am a beginner as well
@vasyamamin1914
@vasyamamin1914 6 ай бұрын
thx
@Vitosoaski
@Vitosoaski 11 ай бұрын
Bro, please marry me. Thanks for the tutorial 😘
@programmingwithnick
@programmingwithnick 11 ай бұрын
I am taken
@Yamu_168
@Yamu_168 6 ай бұрын
@@programmingwithnick Haha thats good for you tho mate
@mikolaspesek
@mikolaspesek 23 күн бұрын
useless, no real showcase of universal setup.
@Srednicki123
@Srednicki123 7 ай бұрын
this crap software can't be installed on Macos
@mazazaza11
@mazazaza11 6 ай бұрын
cope macboy
@PySnek
@PySnek 5 ай бұрын
use a real operating system, not one only for starbucks social media frapuccino scrolling
@ProfShibe
@ProfShibe 4 ай бұрын
get an actual computer
@SliceOfBread430
@SliceOfBread430 4 ай бұрын
" cannot open source file "raylib.h" " :(
@bosballl
@bosballl 4 ай бұрын
Reinstall the template, then press the fn key which is near the alt key, then f5. then run the code in debug mode which worked for me.
🔥Pong Game with C++ and Raylib - Beginner Tutorial
42:30
Programming With Nick
Рет қаралды 72 М.
Can I Learn Raylib In Just 48 Hours?
1:29:46
ForlornU
Рет қаралды 3,1 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 208 М.
This Release is Crazy!!
1:44:28
Tsoding Daily
Рет қаралды 62 М.
Ranking Java Features Added from Versions 8 to 21!
27:03
Tales from the jar side
Рет қаралды 20 М.
Andrew Kelley   Practical Data Oriented Design (DoD)
46:40
ChimiChanga
Рет қаралды 168 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 617 М.
Should I have used Unity instead of Raylib for my Indie game?
10:11
Lingon Studios
Рет қаралды 43 М.
My 2 Year Journey of Learning C, in 9 minutes
8:42
VoxelRifts
Рет қаралды 688 М.
Creating Tetris in C++ with raylib - Beginner Tutorial (OOP)
2:12:09
Programming With Nick
Рет қаралды 140 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН