C++ OpenGL 3D Game Tutorial 1: Making the Window with Win32 API

preview_player
Показать описание


DESCRIPTION:
Hello everyone, and welcome to the OpenGL 3D Game Tutorial Series,
a new tutorial series in which we will build a 3D Game in C++ and OpenGL from scratch!
In this first episode we will face the making of the Window of the game! Also we will see how to make the Game Class in order to manage all the components of our game, like the Window itself and the OpenGL Engine!

TOOLS:
-----------------------------------------------------------------------------------------------------------------

Chapters:
0:35 Requirements
1:11 Design
2:41 Implementation
9:33 WARNING: Don't add the assert macro. More info in the pinned comment.
9:50 Implementation
20:19 First appearence of the Window
20:40 Implementation
27:06 Final Result
27:13 End
Рекомендации по теме
Комментарии
Автор

as 20 minutes in already started to feel my coding improved i was struggling to make games and decided to learn how game engines work actually thank you for the videos i decided to finish this tutorial series now.

uluc
Автор

Awesome tutorial. I hope you will make more episodes about OpenGL 3D programming. It would be awesome if you will talk about the math and how it works (matrices and etc. ) and show some of best practices to manage the classes and what patterns use. Thanks! Can't wait for more episodes!

Krl
Автор

A very solid step by step tutorial! I like the speed you go over the implementation details. One subtle change did cost me some time though. When you implemented the WndProc function and registered the function within the windowclass at about 22:13 . Otherwise great tutorial! Hopping over to part 2 now ;) .

ProfDrHawkins
Автор

@PardCode very happy to know you are starting opengl series, and i would like to apologize because i still haven't been able to dedicate myself to your dx series. but please keep up this amazing work :) !

LeoOno
Автор

already from the first video i can say that this is going to be a wery good and helpful tutorial series even tho i dont have much knowledse about c++ other than the basics

mrhamsteri
Автор

Bro, this work is absolutely fantastic, but I came to know that when should we make own game engine, while working with team or game studios, but one person cant figure out 100s of problems ending up with dissatisfaction after working a year or 2 on it, even when he is having choices of aaa game engines already, keep it up bro

jpdoshi
Автор

yoooo, i just begun to learn opengl again... i gave up once. but now im pretty optimistic 😀

rukna
Автор

If you have problem with include - use show all files
Without "show all files" you create filters (they are not real), with it you create folders

The_Loose_Fool
Автор

Very hopeful tutorial.
thank you 💙💙💙💙👏👏

amirsadrasalmak
Автор

Very interesting and useful 👍 Keep going with this series please !

bash
Автор

Good work on not using a framework like GLFW! I also made a OpenGL tutorial series, but I do not have time to finish the second entry, since the videos have to be less than 5 minutes, so I have to edit a lot. It has been 3 months since the first video, and I think I am close, but I may never finish the video.

ancientstraits
Автор

Why did you decide to use Win32 instead of GLFW?

coderflower
Автор

It would a good idea to explain how win32 works behind the scenes. Explain how this code to create the window works

AkimboFennec
Автор

7:13 Remember when you created your own methods to init and to release the window for the DirectX game series, but i JUST saw you putting them in the constructor/destructor methods. I am unfamiliar with C++ but that looks like such a clever idea, why didn’t this cross me when I made my last window?

mr.hashundredsofprivatepla
Автор

I hope you will create your basic gl loader, instead of using common ones. It doesn't look that hard.

muhammedyasinhanyasar
Автор

This is the first video I am watching, are there two videos about creating the video? If i start here and go through all 35 videos thats right?

ryanbirks
Автор

Everything was going fine for me up until 25:38 where upon launching it gave me the error of assertion failed referencing the line "assert(m_handle);" in the Window.cpp file at line 38 for me. I would very much appreciate help because this series seems to be full of knowledge and clear and I would love to continue it.

younglion
Автор

Nice tutorial i was wondering are you going to make online in your game engine so we could see how an online game is programmed

MonstrMash
Автор

Im a bit confused by this program. I was kind of under the impression that when you run it, it will create a new window, but when you close that window, it extis the program. I t does do this, but keeps the console window open (but not running). Isnt there a way to close the console window also, when closing the application window??

sandermez
Автор

I have not met any problem when copying your code to VS project. I can't continue other programmer's tutorials for the problems i can't solve.Thanks...

Nathan-kiqn