EP0069 - OpenGL Instead of Windows GDI - Making a video game from scratch in C

  Рет қаралды 5,875

Ryan Ries

Ryan Ries

Күн бұрын

Пікірлер: 31
@EduardoWeidmanBarijan
@EduardoWeidmanBarijan Ай бұрын
Thank you for all the content so far. I watched all the episodes up to now and I will re-watch and apply the knowledge to bring a game to life. I really enjoyed the fact that this uses minimum library but couldn't help to be a bit disappointed when you said "do you think I want to code an OGG parser? No I don't". But I think you wish you would! Anyway, looking forward to a second season of this series. There are lots of interesting things for a RPG game and we are still missing the save/load feature in the menu. Topics I am particularly interested to see covered: NPC logic, including animation and how to make random path feels "right", animation in general (maybe the water tiles), so it is not only the character (how to accomplish it with the frame counter, etc), save/load option, load of different map (the idea of two overworlds, how to accomodate for that), more transition stuff (so far we only have fades), and how to draw partially (so you can have NPCs, etc "outside" the screen but not crash, and bring into view). Oh and for some side-tracked stuff, I really like when you debug things live, so that we can do it ourselves if we break something outside the video teaching. And I was intrigued by the DLL stuff and how "debug on the fly" would happen, but unfortunately it didn't made the final cut. Alas, I hope you are doing fine! Subscribed for sure.
@fabrizioriva1281
@fabrizioriva1281 Ай бұрын
Thank you for all of the videos you have made: they are invaluable for me
@theassassinkira4975
@theassassinkira4975 2 жыл бұрын
finally we reached it after so many months if not years.
@rohanofelvenpower5566
@rohanofelvenpower5566 2 жыл бұрын
like 2 years yes
@interrogationwatch3781
@interrogationwatch3781 2 жыл бұрын
Thanks for this awesome series! I could learn so many new things from the Windows API and you are great in explaining things. So inspiring :)
@ryonagana
@ryonagana 7 ай бұрын
Hey Ryan are you Ok? 1 year without upload videos. did you quit this project? i learned a lot watching your videos!
@ryanries09
@ryanries09 6 ай бұрын
I'm OK. I just got side-tracked in life by having a baby boy who now takes up all my time. One day I do plan on returning to making videos though.
@_Afsus
@_Afsus 2 ай бұрын
@@ryanries09 congratulations :D , family is priority :D keep us informed with your knowledge
@anasdhfraw
@anasdhfraw 7 ай бұрын
where are you? =( why are you gone...
@dslbit
@dslbit 2 жыл бұрын
nice work ryan, I've been learning a lot, ty for sharing!
@ryanries09
@ryanries09 2 жыл бұрын
And thank you for watching!
@alexdefoc6919
@alexdefoc6919 Ай бұрын
Truly i have been thinking a lot if i should be going full windows and rely on linux compatibility layers like wine for linux to support my apps...
@TheDjBobie
@TheDjBobie 2 жыл бұрын
Thanks Ryan, **nice** episode!
@luked9402
@luked9402 2 жыл бұрын
Concerning the stdint , I take your point, however, one of the main reasons to use them, besides potential finer grain declaration of variable type and size etc, is for greater portability when supporting multiple hardware platforms. Probably not something you need to consider but just thought I would mention it, in case some viewers misinterpreted using it comes down to pre mature optimization alone. Great series, really enjoying it. Cheers.
@ryanries09
@ryanries09 2 жыл бұрын
Well you see, that's exactly what I thought too, until someone informed me that a int_fast16_t is 32 bits on Windows and 64 bits on Linux and 16 bits with Mingw-w64! Which is anything BUT portable. And that is what really turned me off of the "fast" types at least. The fixed-width types are still fine though.
@luked9402
@luked9402 2 жыл бұрын
@@ryanries09 True enough on the fastxxx_t types, they are only a guarantee that their widths must be greater than or equal to N. It also leaves it up to the implementer to decide what it means to be a "fast" integer type. I was referring more to portability of code across different _hardware_ platforms, where it can be beneficial to have better control over exact fixed sizes etc. Their maybe diminishing benefits with different OS's and/or compilers.
@kartune0832
@kartune0832 7 ай бұрын
hi, the screen flickers when the game loses/regains focus for some reason, but only when is fullscreen, works fine if remove double buffering though, any tips?
@supercyclone8342
@supercyclone8342 2 жыл бұрын
I really glad you're still doing this series! I just got done with episode 10 and decided to check out the channel and subscribe (took me long enough lol)! I'm pretty experience in C# and I've even made my own game engine using it, but I wanted to expand my coding knowledge. I was originally going to start out by making a text-adventure RPG once I learned more C, but I stumbled across this playlist and got hooked! I don't know how long I'll stick with this, considering I'm making a game in Unity as my main project, but I likely keep coming back to this whenever I need a break Also, did you ever make the game frame rate independent? I added something to keep track of deltaTime, but I'm unsure if it will work. If you did it at some point in the series, then I won't worry about it just yet. EDIT: Looks like I'm now using OpenGL lol. I hope this doesn't cause problems with the past 59 videos
@jokerpb4778
@jokerpb4778 2 жыл бұрын
Cool Stuff! I have a question. You said "SwapBuffers() going to block until next vsync" I wonder if it blocks actual execution thread of your program like GetMessage() function?
@Danhec95
@Danhec95 2 жыл бұрын
Congrats on episode 69
@ryanries09
@ryanries09 2 жыл бұрын
Thanks!
@erc0re526
@erc0re526 2 жыл бұрын
Love that splash screen! About stdint, I don't know. It feels overkill and most platforms are the same word size so it doesn't matter, and if it eventually does, for that specific platform, you can always #define int int16_t. I guess shield proofing too much for the future isn't a good thing
@swaranjali433
@swaranjali433 2 жыл бұрын
Let’s go!!!
@deinemama6303
@deinemama6303 2 жыл бұрын
nice
@ryanries09
@ryanries09 2 жыл бұрын
So nice!
@presauced
@presauced 2 жыл бұрын
Nice number.
@ryanries09
@ryanries09 2 жыл бұрын
It sure is... thanks for watching!
@presauced
@presauced 2 жыл бұрын
@@ryanries09 Also, thanks for clearing out those bots. It's pretty disappointing how you have to clean them yourself instead of KZbin doing it.
@MorningSkyMay
@MorningSkyMay 2 жыл бұрын
I wish you are more focus on windows programming. Like more in depth. And DirectX. Learnt lots of stuff from you. :-)
@ryanries09
@ryanries09 2 жыл бұрын
This has got to be sarcasm, right... ?
@rohanofelvenpower5566
@rohanofelvenpower5566 2 жыл бұрын
awesome, linux family love
EP0002 - Win32 Basics - Making a video game from scratch in C
1:12:40
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Why OpenGL Going Away is Bad
20:42
VertoStudio3D
Рет қаралды 10 М.
Making Minecraft from scratch in 48 hours (NO GAME ENGINE)
16:38
EP0003 - Win32 Basics II - Making a video game from scratch in C
1:04:29
A Quick, Easy and Extendable OpenGL Renderer in 250 LOC!
13:18
VoxelRifts
Рет қаралды 10 М.
Let's Create a Compiler (Pt.1)
1:11:03
Pixeled
Рет қаралды 586 М.
Let's Program Doom - Part 1
25:13
3DSage
Рет қаралды 462 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН