Тёмный

fixing my old game engine that apparently doesn't work 

The Cherno
Подписаться 668 тыс.
Просмотров 77 тыс.
50% 1

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

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 162   
@TheCherno
@TheCherno 2 года назад
Thanks community 👍
@raov9465
@raov9465 2 года назад
hi bruh❤️
@Jkauppa
@Jkauppa 2 года назад
cursed be the community :)
@waffleskeppy4498
@waffleskeppy4498 2 года назад
hi cherno
@TheWayManREAL
@TheWayManREAL 2 года назад
Hey man, sparky doesn't build for me, can you tell me why?
@oamioxmocliox8082
@oamioxmocliox8082 2 года назад
;)
@squelchedotter
@squelchedotter 2 года назад
If there's one thing I've learned about bug reports, it's to never trust claims of things not working if they don't include the error message...
@TheHighborn
@TheHighborn 2 года назад
what if it works, just doesn't work as expected? no error msg then...
@squelchedotter
@squelchedotter 2 года назад
@@TheHighborn should have detailed exactly what the issue is, just saying "does not work" is very suspicious
@TheHighborn
@TheHighborn 2 года назад
@@squelchedotter i know dude..
@Fractal227
@Fractal227 2 года назад
haha bug reports? try, uhm uhm “Cant login, needed yesterday”
@TheHighborn
@TheHighborn 2 года назад
Community: sparky doesn't run Cherno: and I took that personally
@stinkeye1187
@stinkeye1187 2 года назад
Ha.
@hahayes7205
@hahayes7205 2 года назад
6:37 that's probably the most emotion I've seen this man express
@coolbrotherf127
@coolbrotherf127 2 года назад
Yeah, I couldn't really follow the Hazel Engine series and didn't end up learning much from it. Most of it went over my head and just felt pretty much unintelligible for my level as a programmer. I've learned a lot more since then so I might try it again and see if it's more approachable now.
@anon_y_mousse
@anon_y_mousse 2 года назад
It's always great to learn and grow. I'd say make another attempt and keep at it until you succeed.
@winter0912
@winter0912 2 года назад
Same, several years ago I was so lost when I saw some function binding for application events or sth, I just didn't understand it. Now I don't understand what was so hard for me back then
@samljer
@samljer 2 года назад
well as someone who did i can tell you with certainty the code is a little convoluted, it could have been done a lot simpler without consequence.
@stinkeye1187
@stinkeye1187 2 года назад
He said to watch the C++ series first, then it would make things easier.
@gamedev_byhobby8872
@gamedev_byhobby8872 Год назад
I can't even make the supposedly easy Open GL tutorials lol. Although I've only tried once and got stuck because of Visual Studio's version differences maybe. Can't load the shaders and it's probably my fault. Gotta keep trying
@Gunslinger962
@Gunslinger962 2 года назад
I think that following the sparky series is a good starting point because it's not professional and allows you learn game engine basics without caring much about how performant the final product is going to be or how the architecture is going to be, once you get an idea you can learn how to make the real thing by watching the hazel series, idk that worked for me
@reendevelops
@reendevelops 2 года назад
I was actually just following along Sparky! Although I quit at episode 7 due to the complexity rising, I did manage to learn how OpenGL work, it also introduced me to C++, and how making programs work in general!
@RoDDy_
@RoDDy_ 2 года назад
I started with his cpp series then went straight to hazel and quit at the maths video. This time I learnt openGL and a bit of linear algebra gonna try sparky then maybe hazel, Cuz when I watch him work on hazel before I was totally clueless but I'm starting to understand now oh and I'm a fullstack dev by the way but making games and game engines have always been my dream
@reendevelops
@reendevelops 2 года назад
@@RoDDy_ Oh nice. I might give Hazel a shot then. I'm still a newbie game developer so I struggled even more haha.
@perkele1989
@perkele1989 2 года назад
Really cool video to watch, see a lot of similarities to my own life’s path. I also made a “sparky” first (engine that was really a framework). Then I made an actual engine in a full rewrite. Now, 8 years later, I’ve sold that engine. Also started working on a new one because I can’t help myself, may turn the progress into a RU-vid series (first episode this Sunday??)
@1catinhat
@1catinhat 2 года назад
I'll subscribe to you just in case
@notaboutit3565
@notaboutit3565 2 года назад
Are you Finnish? 👀
@perkele1989
@perkele1989 2 года назад
@@notaboutit3565 kyllä, ethnically at least
@notaboutit3565
@notaboutit3565 2 года назад
@@perkele1989 lmao word, saw Perkele and had PTSD flashbacks of My Summer Car 😂
@timtom3073
@timtom3073 2 года назад
Moro, puhutko suomea? :D
@cprn.
@cprn. 2 года назад
You hacked the system with Sparky. Delegated motivation to the community. 👍 I'm usually burned out somewhere after getting the basic physics in, have like 4 half baked game engines on my back, each in different tech. No tests, docs, makefiles and yet, I'm a professional software architect. 😂
@glenneric1
@glenneric1 2 года назад
Maybe people need a tutorial on how to setup Visual Studio and work with it! 😁 I laugh but then I put on my serious face.
@kevingrant4837
@kevingrant4837 2 года назад
Yo I haven't seen Sparky since your series back on 2016. That series was the reason I was interested in game back in the day.
@TheProductivityBoost
@TheProductivityBoost 2 года назад
I am really happy that he remembered sparky!!
@abelrashid5184
@abelrashid5184 2 года назад
I would like to see a Sparky remastered series focusing on vulkan one day.
@Wheagg
@Wheagg 2 года назад
What's the difference between making a new engine and remaking an engine?
@gamedev_byhobby8872
@gamedev_byhobby8872 Год назад
​@@Wheagg nostalgia plus getting a 1:1 tutorial for what they really want to build themselves
@custard131
@custard131 2 года назад
i think one advantage of sparky particularly with people looking to learn is almost all of the development of it is available on the vods with hazel the actual engine is better, but i feel like we miss out on seeing a lot of what goes into writing a game engine
@rtpHarry
@rtpHarry 2 года назад
Out of curiosity I tried searching to see what they were talking about, as I was expecting him to switch over to a more detailed bug report at some point. It seems there are some issues that people have experienced in the github issues, plus the tutorials were using the development branch which he didn't try to compile.
@mrmartinwatson1
@mrmartinwatson1 2 года назад
Even if he did go to those, he's more than likely not going to fix them.
@alpasfly
@alpasfly 2 года назад
Glad to see current cherno acknowledging past cherno
@melissanivaux4816
@melissanivaux4816 2 года назад
I will definitely try it as soon as possible! A friend recommended it to for sharing!
@brycejohansen7114
@brycejohansen7114 2 года назад
Geez, this brings back memories
@tri--
@tri-- 2 года назад
So here is my kind of story with Sparky and it's meaning to me. At the age 11 the concept of programming took me in. It was the greatest goal I'd have to achieve at that time. But I really didn't understand English that much at the age 11, 'cause I'm Turkish so what I'd do is just copy code. I remember making a sketchy game with Scratch (worst game maker tool I've ever used) and I wanted to make a launcher for it, thus I just watched a man coding and copied it. When I was about to be 12, I saw the best thing that happened to me, Sparky Game Engine series. I became a bit familiar with UE and game engines at that time, so the feeling of finally being able to create a very complex tool excited me a lot. But the problem was I didn't know how to code, and didn't know what C++ even was. I just watched the Sparky series, paused every time the legend Cherno wrote a new word, then just type it myself. It always felt good when I saw the same outcome as his. Now I like cancelling projects when I get bored of them, the Sparky copy was one of them. But then I started again, again and again. Countless times of writing everything again. I eventually kind of started to understand English and C++. My first major code in the Sparky clone was changing the viewport with keeping width and height updated, not updating every time. That resumed like that, start 'n end, start 'n end. Eventually I copied the code so much that I started to actually know C++. Now obviously I didn't know stuff like stack and heap and my apps probably had a lot of memory leaks. But because of the Sparky series, I actually started to write code. Now I'm 13 and learned things I didn't know by watching the C++ series such as smart pointers, references, lambdas and much more. Thank you Cherno, you really are the reason who I am today. I really appreciate what you've done, you're truly someone I will never forget about.
@monstereugene
@monstereugene 2 года назад
holy, man. good for you! Best of luck with whatever you're doing now!
@prenomnom5637
@prenomnom5637 2 года назад
Senden ileride büyük adam olacak gibi. Başarılar!
@benjaminfranklin329
@benjaminfranklin329 2 года назад
Well done, with that kind of persistence and interest, I really hope you can continue and outshine the rest of us!
@joysaha3927
@joysaha3927 2 года назад
But I love sparky engine more than hazel.. Don't know why 😂
@anon_y_mousse
@anon_y_mousse 2 года назад
I've never made a game, yet I've watched nearly every video the past few years. Maybe it's weird to be entertained by other people programming, but my own career has been less enjoyable. However, since Sparky is written in C++, I'll definitely give that a look, maybe try writing a game after all these years.
@lonergothonline
@lonergothonline 2 года назад
I'm pretty sure people who downloaded the code probably thought they'd be an EXE, which did everything for them. you should probably edit the github so that the user doesn't have to do anything.
@matheusmarchetti628
@matheusmarchetti628 2 года назад
There's only 30 videos about Sparky on the playlist. Can we have the full experience?
@ItIsYouAreNotYour
@ItIsYouAreNotYour 2 года назад
30, but it's more like 25.
@wjrasmussen666
@wjrasmussen666 2 года назад
Thanks for the video, didn't know about sparky. How did you get this to work as javascript? Will hazel be able to run as javascript?
@maxinealexander9709
@maxinealexander9709 2 года назад
emscripten is a complete toolchain that builds c/c++ to web assembly, so not technically JS. Web assembly also has no access to the DOM so it can't run on its own. But with a bit of additional work you can get it to work with JS no problem.
@davidcbeaudoin
@davidcbeaudoin 2 года назад
I wish I had a backup of my old laptop that died, it had my first attempt at coding a game engine. I actually got an ugly single level SHMUP up and running. I'd be curious to see how the code compares to stuff I write now.
@lorenizm7393
@lorenizm7393 2 года назад
ikr too. i clicked on sotNice tutorialng and now i cant find any tracks and everytNice tutorialng is blank idk what to do
@zuztech
@zuztech 7 месяцев назад
Is it to late to learn game dev? I'm 35 yrs old and I'm thinking on changing career but IDK if is possible. What Would you recommend ?
@kingelvis19
@kingelvis19 2 года назад
lol he's so smart. His community is a bunch of novices like me
@KennyTutorials
@KennyTutorials 3 месяца назад
Major new feature: "Removed ChernoCraft". 😂
@TheSharkasmCrew
@TheSharkasmCrew 2 года назад
Interesting, I tried for a while to get my own personal c++ game framework-y thing to build to Javascript (emscripten) but really struggled with it. That project was SDL/cmake/primarily linux, though. I'll have to dig through sparky and see where I was going wrong :)
@TheSharkasmCrew
@TheSharkasmCrew 2 года назад
It may have simply come down to the fact that I wasn't using clang..
@howto-xd6tq
@howto-xd6tq 2 года назад
Keep it going.
@yunus61
@yunus61 2 года назад
At least here it is.
@samvodopianov9399
@samvodopianov9399 2 года назад
Can't cook a barbeque without steak
@macjd4002
@macjd4002 2 года назад
It's really work!
@YXalr
@YXalr 2 года назад
Sure the test scenes work, but when I type Sparky.makeDoomEternalButBetter() it just doesn't compile for some reason.
@seawardspy-jl4hz
@seawardspy-jl4hz 2 года назад
Does anyone know where I can find Information on how to make a c# scripting engine? If you can even call it that. Like, what unity uses
@onogrirwin
@onogrirwin 2 года назад
Boy do I love Gay Men jins. Check for input, update, draw...
@StarContract
@StarContract 2 года назад
I've been here since Sparky 😊
@srin_meow
@srin_meow 2 года назад
what is the visual studio theme are you using
@Diamonddrake
@Diamonddrake 2 года назад
If you don’t know the build order and you don’t know what you don’t need it’s not quite as simple. I know you were being cheeky but videos like this make new people feel dumb and turn them away from programming.
@bakedbeings
@bakedbeings 2 года назад
*If* the readme doesn't tell folks to open the sln and build, I agree, and I think adding that instruction is a choice move.
@TheCherno
@TheCherno 2 года назад
There is no build order, you just run Sandbox (the default startup application) and that’s it. I was building it incrementally because I was expecting something to not work along the way.
@Diamonddrake
@Diamonddrake 2 года назад
​@@TheCherno I cloned this repo from git, opened it in VS2019 and hit F5 and it throws a pop up saying there were build errors but they were just out dated windows SDK stuff, retargeted it to an SDK for my version of windows and it ran just fine. Could have been your complainer's issue.
@alexzhu4867
@alexzhu4867 2 года назад
putting in....they are only visible on the mini soft roll preview, I can’t do sNice tutorialt without seeing what notes are being played...i can’t even
@SamarthCat
@SamarthCat 2 года назад
I am an early bird... Anyways I am excited for the next hazel devlog :)
@OskarP2601
@OskarP2601 2 года назад
what syntax highlighting r u using?
@MrSandshadow
@MrSandshadow 2 года назад
I had a laugh over this one. Gj.
@MartinPHE
@MartinPHE 2 года назад
Ah maybe they didn't know to build dependencies then core and finally sandbox?
@TheCherno
@TheCherno 2 года назад
They’re all dependencies so if you just build/run Sandbox it will build them all. I did it incrementally because I expected something would be broken
@MartinPHE
@MartinPHE 2 года назад
@@TheCherno This is why I watch all your videos on c++. ah I understand. big ++ can't wait for more c++ teaching, learn the most from your teaching style big help
@Destroyer19941995
@Destroyer19941995 2 года назад
Wish you would make a video on how to port to android using visual studio... There aint a single video about that on the entire internet
@umen2424
@umen2424 2 года назад
I can confirm the engine works fine out of the box , But looking at the source code i can see dx 11 implementation which is missing in the tutorial Any chance you will do DX 12 series? You are doing very good job , thank you !
@TheRealMangoDev
@TheRealMangoDev 4 месяца назад
what the hell is spnew? is it stack pointer new
@user-qs6xn1oy5d
@user-qs6xn1oy5d 2 года назад
Hello Cherno, Thanks so much for your videos. They are both technical and informative. So I have a question for you and I am asking it here because I could not find a place here on this channel or elsewhere where I could ask. So I have a software program idea, and actually it is a software suite, but I would start with one program first. So... 1st) I would like to say that I am going to be very ambiguous about what this program idea here on RU-vid just bc I want to keep the details mine until it is actually made. 2nd) I would very likely need C++ due to the need for the program/s to be closer to the hardware layer of the computer and also run fast. But I am open to recommendations beyond C++. 3rd) I also wanted to ask you because you seem to be incredibly fluent in C++, whereas on my side, I am coming from more of a UX/UI and concept design angle.. I have built prototypes before but only know a minimal amount of C++ and don't have time at the moment to dive deep on it. 4th) The game engine you have built is actually very closely related to the idea/s that I have so I thought you might have some interesting things to say about this. Q1 - I wanted to see if you would be interested in exploring this idea mentioned above and might want to work on this project eventually? Basically, would you be potentially interested in helping code an application which would be a visual creation tool. (I can provide more details if interested) Q2 - If you would not be interested in discussing this app further in terms of you potentially code it.... would you happen to know where a good resource might be to find developers who are interested in building visual creation apps from scratch? What I offer on my side is the UI design, the concept, and the company name. Please let me know your thoughts... Thanks and great videos! D
@joelincz8314
@joelincz8314 2 года назад
thanks!
@angeldamiangarciaguevara4967
@angeldamiangarciaguevara4967 2 года назад
Soy yo cuando entrego una tarea de programación "Pero en mi compu sí funciona profe, se lo juro"
@cprn.
@cprn. 2 года назад
It means you're not including all dependencies or your profe's compu has a different architecture (either CPU or GPU). As long as all dependencies are there and the binaries were compiled for the right architecture, it has to work - it's just machine code.
@Blayms
@Blayms 2 года назад
Perfect clickbait, ig lmao
@TechNova45
@TechNova45 2 года назад
I like your color theme, did you set it manually or some plug in?
@lavatasche2806
@lavatasche2806 2 года назад
its vs2022
@TechNova45
@TechNova45 2 года назад
@@lavatasche2806 I have VS2022 I'm asking about the colors for example instead of blue for keywords like void, new etc he has red color, I have vs assist too but it doesn't have these custom colors.
@lavatasche2806
@lavatasche2806 2 года назад
@@TechNova45 my bad. I thought that its just the default for 2022. But I guess not.
@ekshalibur
@ekshalibur 2 года назад
its visual assist plugin i think
@TechNova45
@TechNova45 2 года назад
@@ekshalibur I have visual assist, it doesn't have those extended color customizations, I think you can access more color options in default visual studio settings.
@teacup3000
@teacup3000 2 года назад
„It doesn‘t work“ - well maybe it‘s a you problem 😅
@zhulikkulik
@zhulikkulik Год назад
You removed chernocraft and that's why people can't use it. Everyone knows programming is all about chernocraft - tambourine dances, battle cries and a bit of necromancy.
@ZEN467
@ZEN467 2 года назад
can u plz make a tutorial on updated version of it :\
@drmouradraafat2005
@drmouradraafat2005 2 года назад
Thanks so much for making tNice tutorials video! You really broke it down well.
@ami6packs
@ami6packs 2 года назад
Could you please make a video on how to do low level design before the coding?
@ami6packs
@ami6packs 2 года назад
E.g design a chess game.
@superscatboy
@superscatboy 2 года назад
@@ami6packs Do you mean high level?
@ami6packs
@ami6packs 2 года назад
@@superscatboy basically the classes and design pattern required for designing a game.
@superscatboy
@superscatboy 2 года назад
@@ami6packs Ok, you do mean high level. The further you abstract away from the bare metal, the higher the level of abstraction is.
@ami6packs
@ami6packs 2 года назад
@@superscatboy I don't know. In software industries, Writing classes/functions are generally called Low Level Design. High Level design consists of modules on how they interact with each other.
@OneMeanDragon
@OneMeanDragon 2 года назад
maybe they wanted to build a .net game lol
@HAZARD_LIGHTS
@HAZARD_LIGHTS 2 года назад
Sparky > Hazel
@manonthedollar
@manonthedollar 2 года назад
he mad
@stephenkamenar
@stephenkamenar 2 года назад
"i literally just ran this, could not be easier" i hope you're trolling. you had to like unload visual studio projects or something. you did not just run it. sure you only had to take 1 step to get it working. but nobody's going to know to do that
@victorsarkisov4480
@victorsarkisov4480 2 года назад
Yes... Yes they will. Have you ever spent time working a problem out by yourself? You can encounter these types of issues on the daily.
@stephenkamenar
@stephenkamenar 2 года назад
@@victorsarkisov4480 not everyone's wasted their life learning/using visual studio
@victorsarkisov4480
@victorsarkisov4480 2 года назад
@@stephenkamenar It's not learning Visual Studio lol. It's knowing how to actually work with software instead of relying on everyone else to solve everything for you
@youtubehandlesux
@youtubehandlesux 2 года назад
@@JohnDoe-ws4iu Boo hoo, why do you want to learn micro$oft's shit IDE and its disgusting build system just to make a game engine. Start smart.
@Lamacraft18
@Lamacraft18 2 года назад
He did not needed to do that, he already said that he only tried to build one step at a time to see if any errors ocurred. All that was needed was to build the sandbox
@Mr_Coco_GameDev
@Mr_Coco_GameDev 2 года назад
Hey,I really like your Video,Can you share your Camera and Len
@puppergump4117
@puppergump4117 Год назад
By the way hazel 2d is complaining about not having these: where are they
@draido-dev
@draido-dev 2 года назад
I have a question pls, didn't ray tracing is more modern technique to use? I mean yes ray tracing give good results but its performance hungry
@matijasonfrece3644
@matijasonfrece3644 2 года назад
to brother to
@carloscastro4398
@carloscastro4398 2 года назад
what is life
@mohammedmatar4341
@mohammedmatar4341 2 года назад
I just wanted to make s
@Jkauppa
@Jkauppa 2 года назад
how would you know what not to build, out-of-the-box
@sarahkatherine8458
@sarahkatherine8458 2 года назад
I would check the dependencies/build order list and disable everything that is not a dependency of any other project, until there is no error left. Also just by looking at project name, things with "core" in their name are probably important, and "Sandbox" should be the one I need to play around with.
@Jkauppa
@Jkauppa 2 года назад
@@sarahkatherine8458 developers problem
@Jkauppa
@Jkauppa 2 года назад
​@@sarahkatherine8458 out-of-the-box no-fiddle functioning, this is how libraries and engines go to die, its not the users issue to be the detective of the not-working crime, who needs to work anyways, for anyone, God gives for no self-work
@victorsarkisov4480
@victorsarkisov4480 2 года назад
Skill issue
@Jkauppa
@Jkauppa 2 года назад
@@victorsarkisov4480 not fixing your problems, fix them yourself, amen
@first9279
@first9279 2 года назад
char a = 3;
@Destroyer19941995
@Destroyer19941995 2 года назад
Uuuu niceeee
@samljer
@samljer 2 года назад
alot less un wanted bad practices in sparky, like the over use of templates.
@superscatboy
@superscatboy 2 года назад
For future reference: - "a lot" is two words - "unwanted" is one word - "overuse" is one word Take care, friend.
@oamioxmocliox8082
@oamioxmocliox8082 2 года назад
;)
@thomasamathew4058
@thomasamathew4058 2 года назад
First..
@kevinkkirimii
@kevinkkirimii 2 года назад
Compile c++ to java script = wasm
@protox4
@protox4 2 года назад
Not in 2016.
@TheProductivityBoost
@TheProductivityBoost 2 года назад
I am really happy that he remembered sparky!!
Далее
Performance Bottlenecks in My Game Engine
22:45
Просмотров 43 тыс.
Optimizing Pseudo 3D Rendering // Code Review
36:02
Просмотров 8 тыс.
I Paid Fiverr Game Developers to Make the Same Game
10:25
I'm Coding an Entire Physics Engine from Scratch
9:19
I made it FASTER // Code Review
38:46
Просмотров 544 тыс.
How do non-euclidean games work? | Bitwise
14:19
Просмотров 2,4 млн
MULTIPLAYER in Hazel - My Game Engine
26:37
Просмотров 23 тыс.
Writing a game the hard way - from scratch using C. #1
34:20
I Hacked Diablo II To Use Modern Graphics
13:16
Просмотров 258 тыс.
Hazel - My Game Engine // Code Review
40:59
Просмотров 117 тыс.
Minecraft Clone in C++ // Code Review
40:29
Просмотров 345 тыс.
He wrote this out BY HAND? // Code Review
24:01
Просмотров 83 тыс.