Making a Game Engine, but I am dumb - Ep. #0

Watch me struggle.
GitHub repository:
github.com/Code-Gains/DX11-En...
Learn D3D11 project:
graphicsprogramming.github.io...
0:00 Intro
0:45 Game Engines
2:06 Graphics APIs
2:34 GitHub Repository
2:42 C++
2:50 Learn D3D11
3:35 How Graphics Work
5:16 Final Cube
5:48 Outro
Music:
Licensed under Creative Commons: By Attribution 3.0 License:
• Mining by Moonlight Kevin MacLeod (incompetech.com)
• Furious Freak Kevin MacLeod (incompetech.com)

Пікірлер: 49

  • @hexdragon_
    @hexdragon_4 ай бұрын

    you can actually draw a hexagon using just 4 triangles

  • @Code_Gains

    @Code_Gains

    4 ай бұрын

    And now I know. Thank you. I only saw it after you commented and I will not be able to unsee it.

  • @Code_Gains

    @Code_Gains

    4 ай бұрын

    I love your youtube handle as well. You live up to it.

  • @hawkbirdtree3660
    @hawkbirdtree36607 ай бұрын

    The best part about difficult things, is that they don't remain difficult; if you do it consistently. You just find new things to be troubled by at another point. It's hard to gauge our own progress. It's like watching ourselves loosing weight, or growing; it's only apparent to others.

  • @anispinner
    @anispinner10 ай бұрын

    I went from playing the open world 3D game for 6 months to a spinning cube, it's not that hard. Good luck.

  • @fyvefouroh

    @fyvefouroh

    10 ай бұрын

    🤣🤣 The latter is much more impressive I must say!

  • @theburntcrumpet8371
    @theburntcrumpet837111 ай бұрын

    Really looking forward to seeing where this series goes!

  • @Code_Gains

    @Code_Gains

    11 ай бұрын

    Me too :')

  • @mostrealtutu
    @mostrealtutu10 ай бұрын

    Hey ho, I am one of the authors of the learnd3d11 project. My former message never made it to the comments for some reason... I would like to get some feedback what exactly didn't work out for you so that we can improve the tutorial. Cheers

  • @Code_Gains

    @Code_Gains

    10 ай бұрын

    First of all thanks a lot for contributing to the project, I found it very useful for the initial setup. Regarding the problems, well honestly it was more my fault of not understanding how the project is structured and meant to be used. Since the examples in the online tutorial would link to specific folders (e.g. hello triangle), I assumed I would need to open vcxproj files in those folders and of course got linker errors since these were meant to be run from the LearnD3D11.sln and I assumed that something wrong was with the headers/dlls/libs. Basically I was just not familiar with how I was meant to run the examples so probably an explanation with images of how to select projects in the solution would have helped me.

  • @RGBA
    @RGBA10 ай бұрын

    Amazing video! Looking forward to see whats next to come of this project!

  • @Whag09
    @Whag0910 ай бұрын

    that's an insane idea... total support ! subbed and waiting for next videos ;)

  • @43DM
    @43DM10 ай бұрын

    Thank you for sharing this. I'm also on the same journey. Using OpenGL with some wrappers but coding in C#. Currently got a flat coloured square, taken me longer than I care to admit. Hoping to have a cube soon too. And then I'll be almost ready to release my open world 3D game.

  • @faraaz144
    @faraaz14410 ай бұрын

    BRO I cannot wait to see more episodes of this, looks fun.

  • @williamc03
    @williamc0310 ай бұрын

    I'm looking forward to the next one!

  • @arnoldaz
    @arnoldaz11 ай бұрын

    masterpiece video

  • @GDScriptDude
    @GDScriptDude10 ай бұрын

    Great! I wish you luck. C++ scares me, I would maybe use Rust if I went down this path or Go if it can handle graphics libraries.

  • @Code_Gains

    @Code_Gains

    10 ай бұрын

    Thanks! I think at least Rust has wrappers for graphics APIs, though I am not sure how convenient it is to use.

  • @SianaGearz

    @SianaGearz

    9 ай бұрын

    I have been using C++ for well over 20 years and spent many years as a professional C++ developer but it still scares me.

  • @SianaGearz
    @SianaGearz9 ай бұрын

    Without graphics, games would still be games, and even computer games would still be computer games. They just wouldn't be videogames. > enter cave YOU HAVE BEEN EATEN BY A GRUE.

  • @Code_Gains

    @Code_Gains

    9 ай бұрын

    Fair.

  • @SianaGearz

    @SianaGearz

    9 ай бұрын

    @@Code_Gains No, it's not. Nothing is fair. Life isn't fair.

  • @fyvefouroh
    @fyvefouroh10 ай бұрын

    Excited to see someone else struggle through this! How far do you see yourself taking this? I have been hard at work on my own engine for the past 4 months. I also opted into using raw win32 api instead of a library. Just more work to do but not sure its really worth using if you really just wanna hit the ground running. I only opted for it to truly learn the low level workings of a window itself. I went with OpenGL and Vulkan for my graphics api. I started with OpenGL for learning and simplicity sake, though I wanted to get more into the sewer so to speak, so I started implementing Vulkan in as well about 2 months ago.

  • @Code_Gains

    @Code_Gains

    10 ай бұрын

    Will see how far I get. I don't have any plans to stop currently.

  • @fyvefouroh

    @fyvefouroh

    10 ай бұрын

    @@Code_Gains glad to hear it!

  • @DevModeIsON
    @DevModeIsON10 ай бұрын

    goDOt no gOdot

  • @forest6008
    @forest60083 ай бұрын

    I love this, hope you make something awesome, im trying to do the same thing

  • @Code_Gains

    @Code_Gains

    3 ай бұрын

    🫡

  • @tahamkench7459
    @tahamkench745911 ай бұрын

    Top Coder

  • @sammer1122
    @sammer112210 ай бұрын

    Now that you can render a cube Try recreating minecraft and make Bill Gates proud

  • @adamrushford
    @adamrushford7 ай бұрын

    lol it's so much more complicated than you know, I began as a modeler 20 years ago... now I'm having to rewrite copy and paste old 3d engines to even get an idea what I'm facing... good luck my ass this is vaporware

  • @impheris
    @impheris10 ай бұрын

    interesting

  • @gamersunite9026
    @gamersunite902610 ай бұрын

    it hurts me to see csgbox used instead of meshinstance with the cube mesh even though it's just the same thing

  • @1CProgrammer
    @1CProgrammer10 ай бұрын

    c and cpp is the only language that you cannot learn fully 😅

  • @adamrushford

    @adamrushford

    7 ай бұрын

    can't learn any of them fully they update every 3 years

  • @quantumgamer6208
    @quantumgamer62084 ай бұрын

    Can you use python to make a game engine IDE with C compiler to complie your python code? I am currently making a game engine in python with C/C++ game dev library but I am using the python version of the C/C++ game dev library like imgui, jolt physics engine, ogre graphics rendering engine, vulkan, bullet physics engine and other C/C++ library and I am using pygame pyglet for 2D and 3D game framework for the game engine. The game engine will be for simple 2D and complex 3D games and I am just like you dumb but I am learning game design and development at college and university this September to do computer game development foundation year for 4 years.

  • @mineralbrewer2289
    @mineralbrewer228911 ай бұрын

    Did you have c++ experience before?

  • @mineralbrewer2289

    @mineralbrewer2289

    11 ай бұрын

    I only know the bare bone basics, do you know any resources I can learn from?

  • @Code_Gains

    @Code_Gains

    11 ай бұрын

    I have some C++ experience from uni, though I don't feel qualified recommending since I am not that skilled myself

  • @kplays_6000

    @kplays_6000

    10 ай бұрын

    TheCherno has a fantastic C++ beginner series if you just know the basics, or Portfolio Courses takes a more project-based approach to learning! TheCherno does also have a graphics programming series AND a game engine series, but both are OpenGL-based rather than DirectX. I've also done engine / tools development for AAA projects, feel free to reach out if you need any help!

  • @SianaGearz

    @SianaGearz

    9 ай бұрын

    @@Code_Gains I will be watching you wither in pain and i will be twiddling my thumbs.

  • @gamedevunity3dliviopanizzi170
    @gamedevunity3dliviopanizzi17010 ай бұрын

    good job ,continue with tutorial ?

  • @Code_Gains

    @Code_Gains

    10 ай бұрын

    I will continue the series, yes.

  • @eduardopozos5022
    @eduardopozos502221 күн бұрын

    1.69..k subscribers? I'll fix it.

  • @kAnal-tz9fe
    @kAnal-tz9fe10 ай бұрын

    I went from a spinning cube to an open world 3D game in 6 months, it's not that hard. Good luck.

  • @bran_rx

    @bran_rx

    10 ай бұрын

    You definitely used a readily available Game Engine. From scratch is a whole headache.

  • @kAnal-tz9fe

    @kAnal-tz9fe

    10 ай бұрын

    @@bran_rx At first I tried using an already existing engine, but all the ones that I tried I didn't like, so I wrote my own.

  • @cooperhardi4324

    @cooperhardi4324

    10 ай бұрын

    I still can't make a hitbox in unity🙄

  • @avarise5607

    @avarise5607

    2 ай бұрын

    ​@@bran_rxdunno man, i've spent almost 2 months atm on my own engine, and got very far. Admitedly it is not finished product yet, but I got to a stage of having a scene editor, ecs, only missing sound from core features. Even managed to put in networking and multithreading job system. Engine from scratch, developed on linux but its multiplatform, using Vulkan. At thia stage getting procedural gen and filling world with content is maybe 2 months of work. So 6 montha from triangle to open world is: possible, commendable and quite likely fun