EP0064 - Rewriting DrawWindow, fixing movement bug, etc. - Making a video game from scratch in C

  Рет қаралды 1,791

Ryan Ries

Ryan Ries

Күн бұрын

Пікірлер: 22
@renhoeknl
@renhoeknl 3 жыл бұрын
Still going, still awesome
@ryanries09
@ryanries09 3 жыл бұрын
Thanks for sticking with me!
@lililili9361
@lililili9361 3 жыл бұрын
Hello Ryan i am back watching your videos after a complicated year in college. You have taught me many things in C language thanks to your video series (now i have to learn C+ for my second year of college haha). I have discovered your accident and i am happy that you are in good shape now, health is number one priority. During this holidays i will need to digest all this new content because it's not always easy for me to understand (sometimes i need to read a bit longer the code ...) but i always trie to understand everything. You are a very good teacher Ryan. Thank you
@ryanries09
@ryanries09 3 жыл бұрын
Thank you for watching; I'm really glad to hear the content has been helpful!
@Ph4n_t0m
@Ph4n_t0m 3 жыл бұрын
Thanks for this series!
@ryanries09
@ryanries09 3 жыл бұрын
Glad you find it useful, and thanks for watching
@firstname4337
@firstname4337 3 жыл бұрын
you SHOULD be proud of your inline assembly -- I wish I knew how to do that
@peterbanyu8941
@peterbanyu8941 3 жыл бұрын
Bro keep it up bro I love the series and I am glad you continued.
@vasilislefk366
@vasilislefk366 3 жыл бұрын
I'm learning C and looking forward to start the series
@TheDjBobie
@TheDjBobie 3 жыл бұрын
Thanks for the last episodes. Cant wait for the next. Greets!
@SemeshkoV
@SemeshkoV 3 жыл бұрын
Have you considered a tile based rendering paradigm? Could massively increase performance for a game such as this
@ryanries09
@ryanries09 3 жыл бұрын
I have considered it, but since we're already pulling ~4000 frames per second on a CPU from 2015, at this stage I don't foresee us switching to such a system *unless* we reach the optimization phase and find that we want this game to run on even slower processors, like a Raspberry Pi or a smart fridge or something like that.
@androth1502
@androth1502 3 жыл бұрын
have you done any work on the rounded windows yet? i did a quick test run of it and it didn't look too good. i think you need to make the borders 2 pixels thick or drop the angle more and come up with a new color for anti-aliasing. the double-thick border would probably be the better solution, in both ease of implementing and in looks.
@ryanries09
@ryanries09 3 жыл бұрын
Nope, I haven't done any work on the rounded corners yet. Everything you suggested makes sense though.
@androth1502
@androth1502 3 жыл бұрын
have you tried the version of clang that you can integrate into visual studio? you might notice some performance increase there too. also, you don't really need windbg to debug programs written with standalone clang, you can still use the visual studio debugger.
@ryanries09
@ryanries09 3 жыл бұрын
Thank you for watching! Right -- I know you can still use VS as a debugger, and the debugger in VS is decent, but my main goal in this episode was specifically to showcase some alternatives to VS. Personally I'd like to eventually be free of my reliance on VS, however, it's also important to me to maintain compatibility with every new IDE/compiler/debugger that we explore throughout the course of this series.
@androth1502
@androth1502 3 жыл бұрын
@@ryanries09 I've never used windbg. What are your thoughts on it? Would you say the preview version is adequate alternative to vs?
@ryanries09
@ryanries09 3 жыл бұрын
@@androth1502 Well I used what was the classic WinDbg and what is now called WinDbgX almost every day for the last 5 years at work, so I am biased. I like WinDbg a lot. The extensions and command window and the scripting capabilities all make it more robust than any other debugger out there IMO. The one built into VS is fine, but I don't think I'd ever use it for anything other than debugging my own projects that I'm developing with the VS IDE.
@androth1502
@androth1502 3 жыл бұрын
@@ryanries09 thanks for your input. i usually get 'stuck' using a single tool once i get used to it and don't like change. lol. a problem that's hard for me to overcome.
@ramireini
@ramireini 3 жыл бұрын
volatile = Whenever you are doing something with this, always load it out of memory, don't assume, don't optimize.
@ryanries09
@ryanries09 3 жыл бұрын
yes
@kaiweiyeo4279
@kaiweiyeo4279 2 жыл бұрын
Hi Ryan, Thanks for the tutorials. Just wanted to leave the full text for the strcmp line. It doesn't show up completely during the video. #define SELECTED_TEXT(Text) strcmp(Text, gm_characterNaming.mipp_items[gm_characterNaming.ui16_selectedItem]->cp_name) == 0 ? TRUE : FALSE Thank you.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
How to Crack Software (Reverse Engineering)
16:16
Eric Parker
Рет қаралды 797 М.
Making a New Compiler
15:36
Modern Retro Dev
Рет қаралды 9 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 844 М.
Creating a window - Software from Scratch
1:04:12
Muukid
Рет қаралды 170 М.
Intro to Data Oriented Design for Games
52:35
Nic Barker
Рет қаралды 38 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.