Hi, Andrew! Glad to see you uploading! Your previous videos and tutorials really inspired and helped me start using raylib and understanding C! 😁 Looking forward for your videos!
Keep in mind on Linux the release binaries are for X11 by default, so when you build your raylib program it will use XWayland if you are on a Wayland Desktop and it will be slower. So if you are on Linux Wayland Desktop, its a little tricky but you can build dynamic and static raylib libraries by modifying the Makefile. I tried to do this with CMake but it didn't seem to build for wayland, so I would advise not use CMake just Make. Just edit the Makefile by enabling GLFW wayland: # For CFLAGS see line 330 and added -DUSE_WAYLAND_DISPLAY=TRUE GLFW_LINUX_ENABLE_WAYLAND ?= TRUE GLFW_LINUX_ENABLE_X11 ?= FALSE Hope this helps others. I hope in the future Raylib will support vulkan, raysan mention he will review but has to redesign RLGL.
@@hawkbirdtree3660 I am trying to figure that out too. On Linux you have use make to build a webplatform version of raylib. Then when compile have to link to it. Or you have to use EMScripten to convert you .c src to javascript. Honestly, I haven't done it yet but read a bit about it. Oh ya, I also read you might have to use Clang instead of gcc for EMScripten as well. I believe others have successfully made a web version of their program on Linux.
@@cybernit3 There are browser Raylib videogames at itchio. I played some. Also, there's an official sample with a CMake and code that supposedly supports EMScripten. I didn't try it yet.
@@dancom6030 CMake is sort of overkill but I tried doing a simple hello world example and it sure has all these directories and files; but does the dirty work of making those makefiles. All I know is don't run CMake it will modify the original Makefile for raylib building; I wasted like 2 hrs trying to figure it out, cause it bugged me GLFW X11 on the console tracelog...finally got GLFW Wayland. Tsoding's TH-cam is sort of cool he does raylib speed runs and said raylib should be part of the POSIX standard, heh. Tsoding actually did an audio fix for raylib too.
Many people in the community have attempted to suggest inclusions and directions that would ultimately bloat raylib and Ray himself has been very clear about shutting them down and his goals of raylib. There was even a situation with an investment bro when the Unity runtime fee drama happened, it was very comforting seeing how uninterested Ray and much of the community is in making such a move. All that to say: I suspect you are in the right place 😊
@@andrewhamelcodes I'm really pleased to know, that Ray keeps his feet on the ground. There are many examples in the IT history, where a e.g. fine tool became very ugly. I have no knowledge of any graphic library like raylib, where I can have a window up and running, using about 10-11 lines of code. I use use C99 and Linux Mint and it just works fantastic.
In theory all of those ports are great, but without adequate documentation, larger adoption is unlikely. Despite 40+ years coding games, I have yet to get a basic raylib example project to compile in VS Code for N64 or Dreamcast, after weeks of trying. Perhaps an idea for a future video? ;)
We shall see.. Naturally, raylib is geared toward "adventurers" but in my experience that means being very patient with confusing linker errors. I find once you get the environment working, it's a real treat to dev in, but the setup could block a lot of folks, hence this video and the next two I have coming this week. When it comes to coding games, one thing I've learned is absolutely every build pipeline is entirely different with no transferrable knowledge, and onboarding to each new project presents entirely unique challenges, even at work!
Unfortunately it is just set to whatever the default was when I reinstalled Windows 10 recently, which is Microsoft's pick and mix of landscapes 😋 (I don't have any way to access what the background was during this video 😞)
It is a difficult thing, if it is targeted for phone then it's kind of annoying to watch on a big screen. Many programming tutorials will be watched on a PC, but I agree it is annoying. I will consider trying bigger font for the next couple videos and see if I can find a nice balance.
Hi, Andrew! Glad to see you uploading! Your previous videos and tutorials really inspired and helped me start using raylib and understanding C! 😁
Looking forward for your videos!
Keep in mind on Linux the release binaries are for X11 by default, so when you build your raylib program it will use XWayland if you are on a Wayland Desktop and it will be slower. So if you are on Linux Wayland Desktop, its a little tricky but you can build dynamic and static raylib libraries by modifying the Makefile. I tried to do this with CMake but it didn't seem to build for wayland, so I would advise not use CMake just Make. Just edit the Makefile by enabling GLFW wayland:
# For CFLAGS see line 330 and added -DUSE_WAYLAND_DISPLAY=TRUE
GLFW_LINUX_ENABLE_WAYLAND ?= TRUE
GLFW_LINUX_ENABLE_X11 ?= FALSE
Hope this helps others. I hope in the future Raylib will support vulkan, raysan mention he will review but has to redesign RLGL.
Thank you. I switched to Linux and I was wondering if I could compile for web
@@hawkbirdtree3660 I am trying to figure that out too. On Linux you have use make to build a webplatform version of raylib. Then when compile have to link to it. Or you have to use EMScripten to convert you .c src to javascript. Honestly, I haven't done it yet but read a bit about it. Oh ya, I also read you might have to use Clang instead of gcc for EMScripten as well. I believe others have successfully made a web version of their program on Linux.
@@cybernit3 There are browser Raylib videogames at itchio. I played some.
Also, there's an official sample with a CMake and code that supposedly supports EMScripten. I didn't try it yet.
You don't have to modify the make file. You can just pass those as parameters when you call make.
@@dancom6030 CMake is sort of overkill but I tried doing a simple hello world example and it sure has all these directories and files; but does the dirty work of making those makefiles. All I know is don't run CMake it will modify the original Makefile for raylib building; I wasted like 2 hrs trying to figure it out, cause it bugged me GLFW X11 on the console tracelog...finally got GLFW Wayland. Tsoding's TH-cam is sort of cool he does raylib speed runs and said raylib should be part of the POSIX standard, heh. Tsoding actually did an audio fix for raylib too.
I really hope that raylib still focus on being relatively easy to use in the future. I'm using raylib 5, C99, Linux Mint and it's a joy.
Many people in the community have attempted to suggest inclusions and directions that would ultimately bloat raylib and Ray himself has been very clear about shutting them down and his goals of raylib.
There was even a situation with an investment bro when the Unity runtime fee drama happened, it was very comforting seeing how uninterested Ray and much of the community is in making such a move.
All that to say: I suspect you are in the right place 😊
@@andrewhamelcodes I'm really pleased to know, that Ray keeps his feet on the ground. There are many examples in the IT history, where a e.g. fine tool became very ugly. I have no knowledge of any graphic library like raylib, where I can have a window up and running, using about 10-11 lines of code. I use use C99 and Linux Mint and it just works fantastic.
Thank you. Quite helpful, looking forward to more raylib content. 👍✌️
Thanks. I am looking forward to more coverage of programming via notepad++/vscode
Please also cover VSCODE setup in the next video :3
Yes yes, game-premake overview will cover VSCode as well as Visual Studio!
@@andrewhamelcodes That would be awesome.
@@andrewhamelcodes Very cool! Looking forward to it
Agreed, excited for the VSCode tutorial!
WHEN AAAAH
Amazing! Thanks for posting!
Thanks for the video!
In theory all of those ports are great, but without adequate documentation, larger adoption is unlikely. Despite 40+ years coding games, I have yet to get a basic raylib example project to compile in VS Code for N64 or Dreamcast, after weeks of trying.
Perhaps an idea for a future video? ;)
We shall see.. Naturally, raylib is geared toward "adventurers" but in my experience that means being very patient with confusing linker errors. I find once you get the environment working, it's a real treat to dev in, but the setup could block a lot of folks, hence this video and the next two I have coming this week.
When it comes to coding games, one thing I've learned is absolutely every build pipeline is entirely different with no transferrable knowledge, and onboarding to each new project presents entirely unique challenges, even at work!
can you link your wallpaper pls?
Unfortunately it is just set to whatever the default was when I reinstalled Windows 10 recently, which is Microsoft's pick and mix of landscapes 😋 (I don't have any way to access what the background was during this video 😞)
@@andrewhamelcodes oh i see...i guess if someone knows they'll link it. thanks anyway
i follow TH-cam videos using phone
so the text size is unread at all.
did you target users that use phones to watch TH-cam
It is a difficult thing, if it is targeted for phone then it's kind of annoying to watch on a big screen. Many programming tutorials will be watched on a PC, but I agree it is annoying. I will consider trying bigger font for the next couple videos and see if I can find a nice balance.