Тёмный

Tools to make a Game Engine in C++ 

pikuma
Подписаться 20 тыс.
Просмотров 54 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 73   
@godzil42
@godzil42 Год назад
I like the fact that albeit having your own lessons about all the topic you talk about in this video, you don't push them until the end, and yet, you are really cautious into saying, this is just the start of a journey, if you want to compete with X or Y, you are probably thinking it wrong. This is really honest from you and quite wholesome actually!
@fernandogoncalves7297
@fernandogoncalves7297 5 месяцев назад
Cara pulei de ponta nesse "rabbit hole" já faz 2 meses e nunca me senti mais motivado pra continuar, muito bom finalmente sentir que encontrei a área que quero trabalhar/estudar. Canal sensacional, parabéns pelo trabalho!
@blackcitadel37
@blackcitadel37 11 месяцев назад
Very cool. One of my biggest mistakes when I tried to create a game engine with c++ in the past (in all 2 or 3 attempts iirc) was the endless "feature creep". I always got stuck implementing more and more systems and overcomplicating things instead of focusing on what was really important and forgetting what the end goal was in first place (make a simple space shooter).
@playerzero5388
@playerzero5388 7 месяцев назад
Cool video. I would like to point out that a game engine is actually "the part of a games code that can be shared with other similar games". It is often called the 'Engine' or 'Core' library. This is why certain games from studios will use a particular engine over others - depending on which gameplay aspects and features they are trying to achieve (and other decision making, such as ease of use and capability for streamlined collaboration of its editor). Some studios (who may release different unique type of games) may own and manage more than a single engine. Next up, you will have your game code. This code (project) will extend/implement the core/engine library (which often contains the majority of functionality). It will then extend upon the engine code with features and functionality that will be unique to the particular game. Lastly, you will have the editor. The editor does not need to be written in the same programming language as the engine is. After all, it will be mostly managing asset files. It therefor needs to understand how to create and modify the proper file formats for assets, as the code (engine + game code) will need to read into memory. This program will contain the majority of tool necessary for the creatives (and programmers alike, inc. others) to create and manage project assets, visualize and place items into the scene, and much more. Post lastly, sometimes a studio will create one or more specialized tools for particular tasks. The editor will have many bells and whistles in regard to what it can do and how it does it. Sometimes, a simple tool (could even be created in a webpage) can be used for specific complex tasks.
@felipelopes3171
@felipelopes3171 Год назад
Nice to see a fellow Brazilian here! In any case, maybe I'm being too honest, but for me the answer to "Should you write a game engine?" is a simple no. There's a very simple way to see this. First, pick any game and try to implement something similar to a very small part of it, like a menu to select the items. Try to implement just that from scratch. You will see that you'll struggle a lot, it will look very bad. Now try the same with an engine and you'll see that it will take you just a couple of days. Now pick the tool you used in the engine and try to implement it. With a few months of work and some knowledge you might be able to do it, but at least this is a problem you can attack. If you succeed then you can wonder if you have enough time in your life to actually implement the rest. In any case, you're right that it teaches a lot of programming concepts, but there are much more efficient ways to understand them...
@__hannibaal__
@__hannibaal__ 10 месяцев назад
Don’t try to understand every thing, just forward till hit wall, hit it again and your mind start moving and work.
@DiegoBreeg352
@DiegoBreeg352 5 дней назад
Cara, sei que você é brazileiro só pelo sotaque rsrsrs, muito bom! continue nesta jornada, me ajudou muito a entender essa caixa preta.
@pikuma
@pikuma 5 дней назад
@@DiegoBreeg352 Tem que ser... Se eu perder o sotaque eles vencem. 😅🤘
@GaryChike
@GaryChike 2 года назад
Great overview Gustavo! So your preference would be 'unmanaged' languages like C/C++/Object Pascal vs 'managed' languages such as Java and C# which have a layer of abstraction.
@pikuma
@pikuma 2 года назад
I have no real preference. Different problems require different tools. I just think that in this case, since the goal is to learn something, most students will benefit from using a language that forces them to think lower-level. Different people might disagree, and that's fine.
@jorik170
@jorik170 6 месяцев назад
very underrated video, literally cleared everything that i was having hard time with
@blyatpitt7030
@blyatpitt7030 2 года назад
wow..i found you on youtube after you respond me on quora..nice tutorials man
@ThatBigDon
@ThatBigDon 8 месяцев назад
This is a fabulous explanation of what and why. Thank you sir!
@4KINDUSTRY
@4KINDUSTRY Год назад
Yes, thank you I want to make a game engine. You have helped!
@techbytefrontier
@techbytefrontier 2 года назад
Imgino que seja Brasileiro, valeu pelo video é um baita começo, estou escrevendo uma engine em c++ usando sfml e tentando utilizar o ECS na mão.. vamos ver no que dá kkk obrigado pelas dicas abraço!
@pikuma
@pikuma 2 года назад
Opa Tauan, que legal. 😉
@techbytefrontier
@techbytefrontier 2 года назад
@@pikuma acabei comprando seu curso por que tinha tudo que precisava, sensacional parabéns por reunir tudo que um iniciante precisava, muito legal mesmo..
@moeenkamali1288
@moeenkamali1288 2 года назад
well done. that is one of the topics that like to follow more as a unity/unreal developer!
@specterent
@specterent 6 месяцев назад
Love this video and bookmarked the engine course you have so I can buy it should I ever have the expendable income to get it.
@JafarDashti
@JafarDashti 29 дней назад
Thanks for this informative video. It’s the best video about how to start game engine dev journey.
@gbant
@gbant 2 года назад
Gustavo, apesar de falar um inglês perfeito eu suspeitei de ser compatriota e escrevo esse comentário em português mesmo kkkk. Muito bacana seus videos! +1 inscrito.
@pikuma
@pikuma 2 года назад
Grande Gabriel. 👍🙂
@guilherne1771
@guilherne1771 Год назад
o 'tchoo' ao invés de 'too' sempre entrega um brasileiro, não tem jeito kkkkkkkk
@pikuma
@pikuma Год назад
@@guilherne1771 Ou "fink" ao onvés de think, e "tings" ao invés de things. Mas lembrem... se eu falar inglês perfeito, eles ganham. 😅
@guilherne1771
@guilherne1771 Год назад
@@pikuma kkkkkkkk não sei se ja viu um canal chamado Bisqwit. Zoaram tanto o sotaque norueguês dele que ele decidiu fazer uma aplicação text-to-speech do 0 que fala com sotaque igual o dele
@pikuma
@pikuma Год назад
@@guilherne1771 Claro. Bisqwit é clássico.
@mteo6391
@mteo6391 10 месяцев назад
I was really helped by your tutorial Good lucky Bro
@All-of0
@All-of0 2 года назад
Thank you 👍
@mehmetakifgol1707
@mehmetakifgol1707 Год назад
do AAA games use the physics library or they implement it from scratch?
@pikuma
@pikuma Год назад
Good question. Most AAA studios use some *tested* library (purchased 3rd party or something they have been working for a long time). The only real reason to write one from scratch is if your "physics problem" is very unique/niche or simple enough that you can get away by writing yourself. But again, most studios use something complex and heavily tested, meaning that they don't really need to understand all the math that goes behind every physics computation, and they can be productive only by using the library and its API as a black-box.
@Alexander07211
@Alexander07211 Год назад
Thanks
@mikedabeast5601
@mikedabeast5601 2 года назад
Im 15 and trying to make a 3d runners vs trappers game. Never used unity or unreal just now learning c++. Seems out of my scope to make a game engine. I should probably just use an existing one first.
@cweasegaming2692
@cweasegaming2692 Год назад
Oh for sure. Really, if somebody just wants to make games then you most likely don’t have to make an engine. BUT, if you’re interested at all, it will never hurt you to take a swing at it
@joaquimjesus6134
@joaquimjesus6134 Год назад
GDI and GDIPlus is good for graphics or too much slow?
@yanmoenaing118
@yanmoenaing118 Год назад
Can I use SDL for 3D rendering instead of choosing OpenGL or Vulkan or DirectX. Also thanks for this great video explanation.
@pikuma
@pikuma Год назад
That's a good question. It's one that many beginners get confused. You'll see many people use SDL to open an operating system window, read mouse, keyboard, etc. But when it comes to rendering 3D content, you still need a graphics API to communicate with the GPU. OpenGL, Vulkan, Direct3D, etc. are these graphics APIs. One interesting thing is that SDL itself will sometimes recognize that you have a graphics card and it will open a window and display graphics using OpenGL or Vulkan behind the scenes. But you still need OpenGL or Direct3D to create a proper hardware-accelerated 3D game. I hope this helps.
@Ismoh0815
@Ismoh0815 Год назад
Is there a udemy course about this, I can buy? Do you know ENTT and ever used it?
@Ismoh0815
@Ismoh0815 Год назад
Ah, found it in your video description! Nice, I am a huge fan of your stuff. Already did your Lua course!
@pikuma
@pikuma Год назад
Yes! EnTT is great. I like Flecs as well with my C projects. They are really good ECS frameworks.
@jacquesb8774
@jacquesb8774 2 года назад
Do you plan to make more courses? If it's the case, what topic will these courses cover?
@pikuma
@pikuma Год назад
Of course. I have lots of ideas. But I'm focusing on retro programming, since there's a lack of good content on it oht there. Maybe PS1? 🙂
@kekkler
@kekkler 2 года назад
I’m going for this with Rust
@pikuma
@pikuma 2 года назад
I like this idea a lot! 💪🏻🙂
@kekkler
@kekkler 2 года назад
Thank you! Your video is a good resource.
@astroid-ws4py
@astroid-ws4py Год назад
The check WGPU, It is a cross platform Rust rendering abstraction layer on top of many platform specific rendering APIs.
@wkvvkw
@wkvvkw Год назад
Hi, what font did you use at 40:59(lua code)?
@pikuma
@pikuma Год назад
Hermit
@darkzeroprojects4245
@darkzeroprojects4245 Год назад
First several games I want to make their custom engines more akin between classic Id software engines with a few of modern stuff like the ECS and such.
@pikuma
@pikuma Год назад
I think more than ECS, which I agree should not be treated as a one-size-fits-all, is the idea of data-oriented programming and really thinking about data locality and data layout for performance. Lots of fancy words but all these ideas were there back in the day when every CPU cycle counted.
@darkzeroprojects4245
@darkzeroprojects4245 Год назад
@@pikuma Indeed. The classic engines and the modding and source ports communities done for them fascinate me so much more than most modern engines in honesty.
@pikuma
@pikuma Год назад
@@darkzeroprojects4245 I like them a lot as well. 🙂
@CCV334
@CCV334 2 года назад
I noticed at 18:22 you mentioned SDL, GLFW, and SFML. What are your thoughts on Raylib?
@pikuma
@pikuma 2 года назад
Raylib is a super cool library. I just saw that the author published a comparison: gist.github.com/raysan5/17392498d40e2cb281f5d09c0a4bf798
@CCV334
@CCV334 2 года назад
@@pikuma oh wow this was posted just an hour ago!
@jasminaashkar6176
@jasminaashkar6176 2 года назад
44🥰4
@mikebeats3281
@mikebeats3281 Год назад
This is Clickbait😂
@mythillian
@mythillian 11 месяцев назад
...How?
@eduardoprasniewski
@eduardoprasniewski Год назад
Muito bom! Aproveitar as férias da faculdade para fazer uma game engine como side project
@leorium
@leorium Месяц назад
What about BGFX as a rendering library? Would it be efficient? Nice video btw❤
@NonTwinBrothers
@NonTwinBrothers 2 года назад
13:02 Ayyyy shoutouts to Ken Silverman
@fedotov2d
@fedotov2d Год назад
Awesome and very valuable content. Thank you!
@yolowex6876
@yolowex6876 2 года назад
I watched it all and finally realised its past one hour. Great video i learned a lot! Thank you !
@vinnyhorgan7186
@vinnyhorgan7186 Год назад
Really nice video! Thanks Gustavo
@pikuma
@pikuma Год назад
Thank you! :)
@badgerdash
@badgerdash Год назад
Wow! You talk with so much passion that I almost want to start writing my own game engine! Thanks for great lecture!
@a740g
@a740g 11 месяцев назад
You forgot to mention audio - a seriously overlooked part of game development.
@pikuma
@pikuma 11 месяцев назад
Ah, so true. 🙂 Thanks for tge heads up.
@AyoubFrihaoui
@AyoubFrihaoui 2 года назад
Very informative, thank you !
@mr_noodler
@mr_noodler Год назад
Awesome video, I watched it all the way until the end and I’m looking forward to taking all of your courses!
@GonziHere
@GonziHere 2 года назад
tldw: engines are hard, use whole of computer science and are build up from important parts. Since you want to make an engine and not an renderer (for example), you should use libraries for pretty much all the parts and "just" wire them together. There are a few libraries mentioned throughout the video, but I'll just add that I would go with BGFX for the rendering (instead of using dx/vulkan directly).
@astroid-ws4py
@astroid-ws4py 2 года назад
Or WGPU for doing the same thing as BGFX
@MigratedToHatManMusic
@MigratedToHatManMusic Год назад
I DID NOT MEAN TO CLICK THE DISLIKE I'M SORRY.
Далее
Why do we use SDL with C & C++?
16:26
Просмотров 44 тыс.
I Spent 100 HOURS Making a Game With NO GAME ENGINE
13:42
История Hamster Kombat ⚡️ Hamster Academy
04:14
TEAM SPIRIT: НОВЫЙ СОСТАВ. SEASON 24-25
01:31
GTA3 Code Review: Weapons, Vehicles, Cops and Gangs
15:00
Do you want to make GAMES or game ENGINES?
8:03
Просмотров 50 тыс.
Giving Personality to Procedural Animations using Math
15:30
25 Game Engines in 25 Minutes
29:43
Просмотров 25 тыс.
Ditch Unity, Build A Game Engine In 48 Hours
7:33
Просмотров 49 тыс.
Microservices are Technical Debt
31:59
Просмотров 305 тыс.
I Made My Own Game Engine
6:24
Просмотров 250 тыс.
So I Made My Own Game Engine...
10:19
Просмотров 94 тыс.