So glad to see a seemingly resurgence in good ole' do-it-yourself game engine tutorials here on UA-cam. Tools like Unreal Engine 5 are great an' all but, if we are to keep on innovating new tech for the future, then we're still going to need developers who are willing to get in, learn and get their hands dirty... Lest we all simply become Unreal Engine game developers and not much else! There's also another brilliant tutorial about building computers... FROM SCRATCH!!! Using nothing more than bread circuit boards, wires and chips (I think the content creator is Ben Eater) and better yet, you get to write pure assembly machine instructions to create a very basic operating system, and build simple programs on top of that! There's just so much out there now for developers, and budding developers of ALL stripes!
It's important for some of us to study fundamentals so we can keep society running. I'm planning to follow Ben Eater's 6502 course when I free up some time - it looks fantastic
I am loving this series. Your channel is really interesting, also the videos where you share your experience on dropping down from a higher language to c. I like the videos speed since it forces viewers to read the code and the documentation instead of copying from the video. Keep going man this is golden
This is kind of random, but I ran into a issue playing around with the code trying to add another keybind after "escape". I think the issue is that in config.c the tmp_buffer is never cleared in config_get_value - if the keybind after escape has fewer characters, config_key_bind fails to find the scancode because there's garbage at the end (i.e., "Qs" or "F10a"). I don't know if that explanation makes sense (or if any of this was just user error), but I fixed it by adding a memset(tmp_buffer, 0, sizeof tmp_buffer) at the top of the config_get_value function to "reset" the tmp_buffer every call. Anyways, thanks for the great series, it's been an awesome way to learn.
I hit the same thing, it's an off by one error on *(tmp_ptr + 1) = 0; This should be *tmp_ptr = 0; since we already incremented tmp_ptr a couple lines before
I'm fairly certain you have an off by one error on the line `*(tmp_ptr + 1) = 0;` tmp_ptr already got incremented on that iteration so it should just be `*tmp_ptr = 0` no?
wow man, just write the game in binary. It will be faster.
So glad to see a seemingly resurgence in good ole' do-it-yourself game engine tutorials here on UA-cam. Tools like Unreal Engine 5 are great an' all but, if we are to keep on innovating new tech for the future, then we're still going to need developers who are willing to get in, learn and get their hands dirty... Lest we all simply become Unreal Engine game developers and not much else!
There's also another brilliant tutorial about building computers... FROM SCRATCH!!! Using nothing more than bread circuit boards, wires and chips (I think the content creator is Ben Eater) and better yet, you get to write pure assembly machine instructions to create a very basic operating system, and build simple programs on top of that!
There's just so much out there now for developers, and budding developers of ALL stripes!
It's important for some of us to study fundamentals so we can keep society running. I'm planning to follow Ben Eater's 6502 course when I free up some time - it looks fantastic
Very cool, thank you! I am writing a game engine in cpp right now, so its really interesting to see someone do it in C
Nice, are you writing an engine for a specific game or for general purpose?
I am loving this series. Your channel is really interesting, also the videos where you share your experience on dropping down from a higher language to c. I like the videos speed since it forces viewers to read the code and the documentation instead of copying from the video. Keep going man this is golden
you have great videos.
do not rush
Thank you! I will try not to rush but also not to dilly dally
although I have been studying C & OpenGL for Graphics Dev, this series has presented interesting ideas.
Good luck with your studies! I'm pretty weak in graphics but even so I hope it helped
Very Cool, Very Clever Writing. you are programming like a master. God bless you.
Thank you very much 🙏
This is kind of random, but I ran into a issue playing around with the code trying to add another keybind after "escape".
I think the issue is that in config.c the tmp_buffer is never cleared in config_get_value - if the keybind after escape has fewer characters, config_key_bind fails to find the scancode because there's garbage at the end (i.e., "Qs" or "F10a"). I don't know if that explanation makes sense (or if any of this was just user error), but I fixed it by adding a memset(tmp_buffer, 0, sizeof tmp_buffer) at the top of the config_get_value function to "reset" the tmp_buffer every call.
Anyways, thanks for the great series, it's been an awesome way to learn.
I hit the same thing, it's an off by one error on *(tmp_ptr + 1) = 0;
This should be *tmp_ptr = 0; since we already incremented tmp_ptr a couple lines before
Nice and effective video. Congratulations. Nice job! :)
Thank you! Cheers!
Damn this series slaps so far. Please dont drop it.
Thannks! Working on ep 5 now!
Just a quick question: I ran into an issue where my delta is always zero. Didnt figure out why.
when i try to run it using the x64 terminal it say R not defined
return error etc
cam you please give me a solution?
Hi Dylan,
Could the OpenGL version be the reason why my window is closing?
Version: {4.6.0 NVIDIA 546.09}
Version: {3.3.0 NVIDIA 546.09}
Thank you.
I'm fairly certain you have an off by one error on the line `*(tmp_ptr + 1) = 0;` tmp_ptr already got incremented on that iteration so it should just be `*tmp_ptr = 0` no?
Yes, you are correct! We fix this later as well as the problem of not handling CRLF (Windows style) line endings
@@DylanFalconer Ahh yep still have a few videos to watch haha. Thanks for making these btw!!
@@DylanFalconer The loop can also overflow tmp_buffer if the right side of a line is too long.