fixing my old game engine that apparently doesn't work

  Рет қаралды 77,020

The Cherno

The Cherno

Күн бұрын

Пікірлер: 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”
@hahayes7205
@hahayes7205 2 жыл бұрын
6:37 that's probably the most emotion I've seen this man express
@TheHighborn
@TheHighborn 2 жыл бұрын
Community: sparky doesn't run Cherno: and I took that personally
@stinkeye1187
@stinkeye1187 2 жыл бұрын
Ha.
@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
@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
@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 KZbin 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. 😂
@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
@TheProductivityBoost
@TheProductivityBoost 2 жыл бұрын
I am really happy that he remembered sparky!!
@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.
@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.
@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.
@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
@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
@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.
@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.
@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.
@matheusmarchetti628
@matheusmarchetti628 2 жыл бұрын
There's only 30 videos about Sparky on the playlist. Can we have the full experience?
@ItsYouAreNotYour
@ItsYouAreNotYour 2 жыл бұрын
30, but it's more like 25.
@joysaha3927
@joysaha3927 2 жыл бұрын
But I love sparky engine more than hazel.. Don't know why 😂
@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.
@howto-xd6tq
@howto-xd6tq 2 жыл бұрын
Keep it going.
@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
@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!
@yunus61
@yunus61 2 жыл бұрын
At least here it is.
@samvodopianov9399
@samvodopianov9399 2 жыл бұрын
Can't cook a barbeque without steak
@YXalr
@YXalr 2 жыл бұрын
Sure the test scenes work, but when I type Sparky.makeDoomEternalButBetter() it just doesn't compile for some reason.
@TheRealMangoDev
@TheRealMangoDev 7 ай бұрын
what the hell is spnew? is it stack pointer new
@TheRealMangoDev
@TheRealMangoDev 4 күн бұрын
its been 10 years
@macjd4002
@macjd4002 2 жыл бұрын
It's really work!
@srin_meow
@srin_meow 2 жыл бұрын
what is the visual studio theme are you using
@OskarP2601
@OskarP2601 2 жыл бұрын
what syntax highlighting r u using?
@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
@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
@kingelvis19
@kingelvis19 2 жыл бұрын
lol he's so smart. His community is a bunch of novices like me
@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..
@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.
@StarContract
@StarContract 2 жыл бұрын
I've been here since Sparky 😊
@zuztech
@zuztech 9 ай бұрын
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 ?
@KennyTutorials
@KennyTutorials 6 ай бұрын
Major new feature: "Removed ChernoCraft". 😂
@SamarthCat
@SamarthCat 2 жыл бұрын
I am an early bird... Anyways I am excited for the next hazel devlog :)
@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.
@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 !
@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.
@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
@Blayms
@Blayms 2 жыл бұрын
Perfect clickbait, ig lmao
@onogrirwin
@onogrirwin 2 жыл бұрын
Boy do I love Gay Men jins. Check for input, update, draw...
@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
@MrSandshadow
@MrSandshadow 2 жыл бұрын
I had a laugh over this one. Gj.
@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.
@joelincz8314
@joelincz8314 2 жыл бұрын
thanks!
@ZEN467
@ZEN467 2 жыл бұрын
can u plz make a tutorial on updated version of it :\
@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 KZbin 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
@OneMeanDragon
@OneMeanDragon 2 жыл бұрын
maybe they wanted to build a .net game lol
@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.
@HAZARD_LIGHTS
@HAZARD_LIGHTS 2 жыл бұрын
Sparky > Hazel
@manonthedollar
@manonthedollar 2 жыл бұрын
he mad
@teacup3000
@teacup3000 2 жыл бұрын
„It doesn‘t work“ - well maybe it‘s a you problem 😅
@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
@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
@Mr_Coco_GameDev
@Mr_Coco_GameDev 2 жыл бұрын
Hey,I really like your Video,Can you share your Camera and Len
@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
@drmouradraafat2005
@drmouradraafat2005 2 жыл бұрын
Thanks so much for making tNice tutorials video! You really broke it down well.
@matijasonfrece3644
@matijasonfrece3644 2 жыл бұрын
to brother to
@carloscastro4398
@carloscastro4398 2 жыл бұрын
what is life
@mohammedmatar4341
@mohammedmatar4341 2 жыл бұрын
I just wanted to make s
@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.
@puppergump4117
@puppergump4117 Жыл бұрын
By the way hazel 2d is complaining about not having these: where are they
@TheProductivityBoost
@TheProductivityBoost 2 жыл бұрын
I am really happy that he remembered sparky!!
Performance Bottlenecks in My Game Engine
22:45
The Cherno
Рет қаралды 43 М.
How to OPTIMIZE YOUR CODE!
17:29
The Cherno
Рет қаралды 102 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
He wrote this out BY HAND? // Code Review
24:01
The Cherno
Рет қаралды 238 М.
A.I. Learns to play Flappy Bird
7:46
Code Bullet
Рет қаралды 14 МЛН
All about MEMORY // Code Review
33:42
The Cherno
Рет қаралды 172 М.
Making Game Engines is hard.
21:14
The Cherno
Рет қаралды 103 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,5 МЛН
Steam Engine Simulator is Almost Done (for real this time)
27:37
AngeTheGreat
Рет қаралды 104 М.
"BEST C++ CODE ever written" // Code Review
27:38
The Cherno
Рет қаралды 96 М.
Understanding Code You Didn't Write // Code Review
27:15
The Cherno
Рет қаралды 70 М.
Optimization October!
9:20
The Cherno
Рет қаралды 25 М.
Is this the WORST CODE I've EVER SEEN? // Code Review
24:28
The Cherno
Рет қаралды 107 М.