WIN API for Game Developers, day 0, introduction

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • In this tutorial series, I aim to help you learn the Windows API. By the end, you will be able to make a basic game, using no libraries except Windows.h
    In this first lecture, we will learn some basic things about Windows.h, and we will use our first Windows function to open a message box.
    Note: Functions with extended stuff end with an Ex not X as shown in the video, sorry for the typo.
    Playlist:
    • WIN API for Game Devel...
    #cpp #gamedev #programming #windows
    code: github.com/mee...
    join my Discord!
    / discord
    Wishlist My Steam Game!
    store.steampow...
    Do you want to learn some more stuff from me?
    • If you want to learn h...
    Music:
    w e i r d - Evan King (Context Sensitive)
    e x o t i c - Evan King (Context Sensitive)
    t r o u b l e - Evan King (Context Sensitive)
    / contextsensitive
    contextsensiti...

ความคิดเห็น • 47

  • @willemidaho
    @willemidaho ปีที่แล้ว +15

    You are criminally underrated.

    • @RuedigaTheSecond
      @RuedigaTheSecond ปีที่แล้ว

      fr

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  ปีที่แล้ว +2

      thanks, I hope people will share this video series and hopefully I'll gain more subscribers 💪💪

  • @Johnny31323
    @Johnny31323 5 หลายเดือนก่อน +2

    A language that overuses the Windows Api including Gdi and some features of Gdi+ is autohotkey.
    The language is made with a combination of the C languages, but is entirely reliant on windows to function. It's a very simplistic language, in some cases it can be better than python. But also, it is not available to any OS, like python.

  • @averyocean65
    @averyocean65 ปีที่แล้ว +10

    Great video!
    I really like that you didn't only explain one of the MessageBox functions, but instead covered what the A, W and X suffixes mean! Also thanks for talking about the NOMINMAX and LEAN_AND_MEAN flags as those seem really useful.
    Keep up the awesome work!

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  ปีที่แล้ว +1

      thanks for the nice comment 💪 I hope to bring you valuable stuff like this in the entire tutorial series

  • @helloitshecker
    @helloitshecker 9 หลายเดือนก่อน +3

    Hanging the tux in the thumbnail image is very bad!

  • @AdanSendo
    @AdanSendo ปีที่แล้ว +1

    Easy to understand! Thanks.

  • @VaibhavPareek
    @VaibhavPareek ปีที่แล้ว +3

    🔥🔥

  • @dotjarianyever
    @dotjarianyever ปีที่แล้ว +5

    The universe is conspiring to help me, i always wanted a series of videos about winapi for game development

  • @RuedigaTheSecond
    @RuedigaTheSecond ปีที่แล้ว +3

    Missed the premiere due to gym ::(
    But yes, stephan still likes men

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  ปีที่แล้ว +1

      no problem, can't be mad at a gym bro 💪💪 also stephan kinda hot tho

  • @__Mr.m__
    @__Mr.m__ ปีที่แล้ว

    This man never disappoint

  • @DashieTM
    @DashieTM ปีที่แล้ว +5

    What is a WIN API? Did you mean wine?
    (Had to write this since you committed the sin of hurting the friendly tux :( )

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  ปีที่แล้ว +1

      so windows api is basically the thing that you use to write a c++ windows application. Think of including windows.h as including unistd on linux.
      Also I prommise I won't be hurting tux in the next thumbnails 🙏

    • @DashieTM
      @DashieTM ปีที่แล้ว +2

      @@lowlevelgamedev9330 Oops,
      the sarcasm wasn't that obvious I guess :P
      I mentioned wine to suggest that it should be the only windows to exist.
      Either way still nice explanation :D

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  ปีที่แล้ว +2

      oh 😆ok I see @@DashieTM

    • @happygofishing
      @happygofishing ปีที่แล้ว

      wine is the most stable api on linux

  • @valentrix
    @valentrix 10 หลายเดือนก่อน +2

    ran into your channel by accident
    prolly the best accident in life so far, you rock

  • @pebaz
    @pebaz 5 หลายเดือนก่อน

    Bro

  • @diegocortesf6369
    @diegocortesf6369 10 หลายเดือนก่อน +1

    This is so awesome!

  • @fadul97
    @fadul97 10 หลายเดือนก่อน +1

    These videos are really helpful! By the way, how did you add the win32 api to Cmake? I tried and failed

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  10 หลายเดือนก่อน +1

      winapi is linked by default you don't have to do anything, you can find my cmake in the repo in the description if you still need help

    • @fadul97
      @fadul97 9 หลายเดือนก่อน

      @@lowlevelgamedev9330thank you, I managed to add the OpenGL headers in a sample project. I saw that you use glad, I tried to add GL/glext and GL/wglext into my project along with KHR/khrplatform, and oh boy, I got the compiler screaming at me for so many errors. Were you able to setup those headers as well or just added glad to your project?

  • @ChaseCarlson
    @ChaseCarlson ปีที่แล้ว +1

    Awesome!
    On an unrelated note, I'd love to see a video about building a reflection system in C++!
    Doesn't even have to include fancy stuff like a clang plugin, just manually reflected types, properties, methods, etc. Feels like there's not enough content about that.
    Thanks for the video! I've played with the Windows API and it starts to get messy real quick. This series is going to be fun.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  ปีที่แล้ว

      hmmn I could make a video on a reflection system in c++ that's not a bad idea thanks 💪

    • @ChaseCarlson
      @ChaseCarlson ปีที่แล้ว

      @@lowlevelgamedev9330 Thank you! Can't wait to see it

  • @RuslanKhamidoullin
    @RuslanKhamidoullin 4 หลายเดือนก่อน

    Faster does not mean better. 🤮

    • @会供価
      @会供価 หลายเดือนก่อน

      bro in every beginner tutorial vid theres always 1 dumb comment

  • @Alpha_GameDev-wq5cc
    @Alpha_GameDev-wq5cc 4 หลายเดือนก่อน

    I love you man!

  • @acupofkoffi
    @acupofkoffi 9 หลายเดือนก่อน

    Is it possible to do this without using vc or some other ide and compile all stuff in a command line? Are there any sources for that?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  9 หลายเดือนก่อน +1

      yes you can search online. You mostly have to type the cmake command to generate your project. With visual studoo you can actually download the cmake and cpp extension to let vs compile the project.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  9 หลายเดือนก่อน +1

      if you can't figure it out just make your project as you are used to and copy my code there

    • @acupofkoffi
      @acupofkoffi 9 หลายเดือนก่อน

      @@lowlevelgamedev9330 okay, I'll try. Thank you for your content

  • @krolmuch
    @krolmuch ปีที่แล้ว

    wow am I really a gigachad!?

  • @catatrophicalist
    @catatrophicalist ปีที่แล้ว

    great vid

  • @mr.tm-yt
    @mr.tm-yt ปีที่แล้ว

    Awesome Video!!

  • @xX_NameHere_Xx
    @xX_NameHere_Xx หลายเดือนก่อน +1

    i had to slow the video down to 0.5 to understand him 🥲