How does a custom game engine work? // Code Walkthrough

preview_player
Показать описание
big nerd explains his C++ game engine and says "um" a lot.

EDITOR: NeoVim
THEME: gruvbox
RESOURCES:

0:00 Intro
1:35 Globals
7:22 Project Structure
8:35 Components and Managers
18:35 Usage Demo
23:13 Events
26:15 Level Data
27:20 Renderer
31:56 Resource Management
39:30 Palettization/Compositing
44:00 UI
45:44 Memory Allocation
49:00 Utils
51:00 Outro
Рекомендации по теме
Комментарии
Автор

thank you for making this video! a lot of youtubers just make a devlog and skim over the details, which is a shame because i love seeing how things are implemented and what solutions they found to various problems

jesperkha
Автор

53 minutes of C++ implementation for real problems. Looking forward to watching this

ksurette
Автор

Thank you! Very nice, casual, and descriptive. I would say, these kinda of review/informal kind of chat after a main video is great! I understand if they are exhaustive or more work. But I like the deeper off the cuff dive after the more entertaining and thought out dev blogs.

MrNathanShow
Автор

I was legit asking myself how some of your code would look during/after watching the summary video. It's been about 5 years since I last programmed C/C++, very interesting to see some of the modern stuff.

BertPdeboy
Автор

Your codebase looks well designed. I got really inspired by this.
Thank you. It's a great video format.

natanaelrabello
Автор

Im glad you made this video because I've been working on my own game engine in c++ for a while after being inspired by some of your videos a long time ago and I think it will be quite useful to compare my code structure to yours and maybe this will help me on some problems that im currently having! Keep up the good work!!

xhidden
Автор

Not sure if you've read any of it, but the devs of the game Factorio have an amazing dev blog that they release every friday where they've taken deep dives into problems that they're facing, and how they go about implementing them. Obv it'd be a lot of work but I think it'd be cool to see a more detailed narrow focus on how you fixed specific things as you go.
Loving the development updates btw, it's been so cool to see this channel evolve from the first minecraft video

drewhoener
Автор

Dude, you're building your own computers and game engines... I gotta get my shit together and do something myself too. Thank you for inspiring me and keep up the amazing work!

obszczymucha
Автор

this is way more interesting than"ok so I put this line of code in to make this happen" then dont explain it at all. As a hobbist game developer I really appreciate this and thank you. I hope to see more code walkthroughs like this pop up.

JMM
Автор

Dude I have been waiting for this to happen, this is so sick and I love the "lecture style." Man I love the DIY aspect of making your own game, ON YOUR OWN ENGINE. Lmao, keep it up man.

Edit: I also much prefer the new font, it is less minecraft like.
Edit 2: Do you think this will ever be available on steam? (Or on the git hub, but I don't think anyone would be angry if you monetized it and sold it on steam)

arial_
Автор

Ever since you uploaded the Minecraft video where you start on this engine, I’ve been working on my own engine in rust. Every time you upload I’m just amazed at the progress you make.
Anyway, thanks for the great video, keep it up!

TheDDgun
Автор

Just started learning C++ and managed to split some strings with help in around 6 hours. I think I make a similar project now. :)
Jokes aside, i really want to use c++ for some gamedev and maybe make my engine some day so this video just came around the right time.
Thanks for the entertainment in these past few years, keep it up legend.

orlaani
Автор

not only he's an excellent programmer, dude is fu*king handsome too.

atraps
Автор

This is utterly amazing! I've already learned a lot from the first watchthrough, like macros, using ECS & OOP, and about memory allocation.

I will definitely be rewatching this as I work on my own C++ engine, and I'm so glad I discovered you!!!

rmt
Автор

This just popped up on my feed. As someone who writes engines in C, I basically live by the "You can take a C programmer out of C, but not the C out of a C programmer" bit 🤣. Interesting stuff.

TravisVroman
Автор

Very cool! I'm not even close to a point where I could understand any of this, but it was still very fun to listen along and try to understand at least a tiny bit :> You have a soothing voice to listen to!

hyverian
Автор

Really cool video! I love long talky videos, your streams were also great so I'm excited that you are considering doing more of those

duckonaut
Автор

This makes you feel that your programming carrer is a joke 😂 amazing work man! keep it going, i want to see this project grow

pedroduran
Автор

I've programmed some small projects with my Arduino. Currently in our class we are trying to do more complex stuff with c++.
And to see someone building a game engine with c++ is great!

albatroshd
Автор

Hippity hoppity your code is now my property

But in all seriousness, you are just incredible. The fact alone that you can code in c and even do highly complicated tasks in OpenGL… Cudos.

blackbird