Definitive Guide to Creating a Window | How to Code Minecraft Ep. 1

Опубликовано: 01 Декабрь 2021
на канале: GamesWithGabe
96,792
4.7k

Join the Discord:   / discord  
Follow me on Twitch:   / gameswthgabe  

In this episode I describe how the process of creating a window works. I go through the required libraries for initializing a window and OpenGL, and show how you could create a main game loop. I also describe what this series will cover, roughly in the order I will cover it. This is the first episode in the how to code Minecraft series.

Challenges: https://github.com/codingminecraft/Mi...

Linking GLFW: https://learnopengl.com/Getting-start...
GLFW Hints: https://www.glfw.org/docs/3.3/window_...
GLFW SetKeyCallback: https://www.glfw.org/docs/3.3/input_g...

My Example
Example Code (C++): https://github.com/codingminecraft/Mi...

Want to see your code as an example? Send me a link at [email protected] and I'll review your code. If it sets a good example and completes all of the challenges, I'll link your code here as well. I would be especially grateful if you provide code samples in other languages like C#, Java, C, or Rust :)

Other example code:
Modern C++: https://github.com/JonathanHiggs/Mine...
More C++: https://github.com/PixelRifts/mclone/...

0:00 Intro
0:42 Disclaimer
1:14 Things You Should Know
2:52 What This Series Will Cover
3:20 Starting the Project
3:44 Deciding on a Graphics API
4:33 Window Management Libraries
4:51 Function Loaders
6:15 Linking GLFW
6:52 Creating the Window
9:07 Window Hints
9:31 Handling Input
10:41 Challenges
11:15 Challenges Written Out
11:43 Closing Comments

---------------------------------------------------------------------
Website: https://ambrosiogabe.github.io/
Github: https://github.com/ambrosiogabe

Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)

My Recommended Game Engine Books:
Game Engine Architecture: https://www.gameenginebook.com/
Game Physics Cookbook (Read this before the next physics book): https://www.amazon.com/Game-Physics-C...
Game Physics (Ian Millington): https://www.amazon.com/Game-Physics-E...
Game Programming Patterns (Free): https://gameprogrammingpatterns.com/

My Recommended Beginning Game Programming Books:
JavaScript Game Design: https://www.apress.com/gp/book/978143...

My Recommended Java Books:
Data Structures/Algorithms: https://www.amazon.com/Data-Structure...
LWJGL (Free, but I haven't read this thoroughly): https://lwjglgamedev.gitbooks.io/3d-g...


Смотрите видео Definitive Guide to Creating a Window | How to Code Minecraft Ep. 1 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь GamesWithGabe 01 Декабрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 96,792 раз и оно понравилось 4.7 тысяч людям.