r/CodingForBeginners • • 1d ago

Why Is Every Coding Tutorial Video Shit?

basically, i want to learn how to code. so like any other guy or girl or neither i decided to look up tutorials on coding. however, whenever i see a tutorial, it’s always some hyper-specific stuff which won’t help me learn. i want to learn how to make games, not a game somebody has already made. i want to dump my own ideas without directly plagiarising somebody else’s. so how come there are almost no tutorials focused on teaching somebody how to understand parts of coding instead of teaching somebody to make somebody else’s game? sorry if it sounds rude, but… yeah.

0 Upvotes

31 comments sorted by

8

u/Economy_Bedroom3902 1d ago

How do you plan on learning to make your own game without learning to make any other game?  You think each game does everything totally different from every other game?  The vast majority is the same across all games.  3D models, textures, animation, etc...  different art, but exactly the same technical building blocks under the hood.

Do you expect someone to have read your mind and made a tutorial for exactly the game you want to make?

1

u/europa_moon_j 21h ago

No I want somebody to tell me about a function and how it works 

1

u/Economy_Bedroom3902 20h ago

That's what tutorials do, they show you functions and how they work by example using game development for other games.

3

u/dld2517 1d ago

Right. This. It’s the same backend. Collision detection. Sprite drawing. Database possibly. And a function library of actions.

4

u/justaguyonthebus 1d ago

Stop speeding through the tutorials. The point is to learn how each piece works by showing you an example. Once you understand that piece, you can customize it to any game idea.

1

u/xarop_pa_toss 1d ago

That's not the experience I've had over the years. And you are mad because someone is showing you the end result and then how to make it or am I understanding your post wrong?

If you want something completely original made from the ground up, look up Handmade Hero. It's an old series by now but the way it is layed out, you only really need to watch the first like 40 episodes.

If HH is too technical for your liking, there are great communities out there for game development. Try and find the websites and discord servers for Löve2D and Pico-8. People there are helpful and the platforms are easy and fun to use and learn.

Making games aside, to learn to program just pick up a reputable book on a language you want to learn and go through it, completing every exercise and project therein. You'll internalize the knowledge much better that way than if you were just watching tutorials

0

u/europa_moon_j 1d ago

this actually seems pretty helpful, thank you <3

1

u/Technical_Drink_846 1d ago

Most video tutorials are made by people who just figured something out or are trying to make money by pretending they know how to do something. They aren't useful for lexical things like programming. Would you watch a video tutorial about writing an essay, where they show you which words to pick? Probably not.

If you're serious about game programming get the K&R ANSI C book, work through it. Eventually move onto C++, learn the language features, not the STL library as most of it is not useful for games. Get Frank Luna's book on Direct3D 11. Casey Muratori (formerly RAD Game Tools, now owned by Epic) has a video series called Handmade Hero, where he built a game from scratch on Windows. It's a couple hundred videos on YouTube. They are not tutorials, but lectures. He's since abandoned the series, and not all episodes are worthwhile but you'll learn a lot about Windows, C++, and software toolchains by watching them. https://guide.handmadehero.org/

1

u/burlingk 1d ago

It's a matter of knowing the right search terms.

Getting started in <Language>

How to <X> in <Language>

Things like that.

1

u/Upstairs_Jelly_1082 1d ago

its very hard to find the basics through coding videos because lot of them do not have the structure to them.

what I'll suggest is go to AI and figure out what kind of games you want to create, because being a bit more specific is going to help you filter out lot of the endless resources out there.

and then ask for the roadmap and then you search for tutorials based on those roadmaps or if you can find some free courses or some free books, that's going to be much better.

1

u/ConditionOrdinary607 1d ago

I'm curious, do you have any background in coding at all. Do you know anything about programming languages in general?

1

u/BannanaPepperPizza 1d ago

Every YouTube video is a close up of someone's face with a bait expression and bait title with the same exact style and it's mainly empty garbage but well produced.

I miss when people who knew what they were doing just happened to record doing it and talking about it.

Now it's a bunch of "influencers" filming filler videos that are vague or sponsored and lack substance.

1

u/BenkiTheBuilder 1d ago

You are correct that following a tutorial exactly is no way to learn. So don't. Start with the tutorial and at the first opportunity, deviate from it. Introduce your own creativity. Back in my day programming tutorials started with a "Hello World!" program, that just printed "Hello World!". I don't think I ever managed to type one of them in exactly. It's not in my nature. I would always enter a different message. I made changes to every single example program I ever encountered for every single programming language I've learned so far. That doesn't mean that the tutorials were wasted on me. Changing something is easier than creating it on an empty page. The tutorials provided me with something to change and learn.

1

u/W31337 1d ago

Because everyone is trying to make cash on content without fully understanding a subject.

1

u/TheRealFutaFutaTrump 1d ago

You make someone else's game, then when the code makes sense, you change it and make it your own game.

I followed a Frogger tutorial for my first game and my end product was nothing like Frogger.

Look up Phaser. There's an entire book on their site explaining it, there are official tutorials, and there are a lot of third party tutorials on YouTube. Phaser is great.

1

u/dld2517 1d ago

First question: why are you watching videos. Go get a book. Even an older book will give you enough code to get you started. And why wouldn’t you want to make a game that someone else has already made? That’s the best and fastest way to learn is to reproduce a project. You can always deviate later. I think you really need to adjust your expectations especially given your immaturity around the topic. Learn from people who have built projects and have decided to share their craft. Find some projects on GitHub that are still in progress snd contribute to them by downloading, studying, modifying the code and generating a pull request. There is a lot you can do and it sounds like you are limiting yourself greatly by not trying or exploring.

1

u/dld2517 1d ago

Videos are crap. Get a book. “Take a look, it’s in a book, on Reading Rainbow”

1

u/symbiatch 1d ago

Because they’re coding tutorials. Why do you want to watch those?

Get a book. Go through it. You’ll learn how to program. Then do whatever you want to. Tutorials aren’t for that.

1

u/Ronin-s_Spirit 1d ago

If you want to render a 3d scene on CPU with a flat 2d graphics library, you literally only need one formula to project objects (including translating them) and one more formula to rotate objects.

By your definition that would be "hyper specific stuff that won't help you learn", because it's a small specific way to do a specific task that everybody does so you would be copying someone's minimalistic game engine #532.

1

u/Key_Frosting7098 1d ago

We learnt by Doing. Get a book. Not retarded people on YouTube. Do things start small. Like ok I’m going to program a calculator. Then keep at it until it works. My first calculator took me like 2 weeks

1

u/Available_Safe1818 1d ago

Idk I learned without using videos. Videos seem like a poor way.

1

u/Naive_Programmer_232 1d ago

well what if you don't know how to write, but you want to write your own book? Well, you gotta probably watch / learn from people writing their own stuff, to learn how to write your own stuff, right?

1

u/urzayci 1d ago

Even if you make a completely new game a lot of the ideas stay the same. Inventories still work the same, power ups work the same, items work the same (more or less). And obviously someone teaching you how to create these things will show stuff that already exists, not some completely new, unheard of way to do it. It's up to you to change it to fit your game.

1

u/Still_Explorer 1d ago

Finding good tutorial is a game of chance, you might have to find hundreds of tutorials and then by a quick glance try to pick only a dozen of the most legit. It would be a very difficult and tedious process and I am not sure if there's actually professional content sommeliers to direct you towards the best choices.

At least for me, speaking from personal experience, I remember that at some point back in time, that when YouTube started becoming popular for distributing content around 2010 and later on. Everybody picking up a topic to create tutorials, and then would focus on high quality content, to allow them to make a name for themselves and become a point of reference.

However at some point the YT algorithm changed and creators started changing as well. During the old time, creators would be paid per video view, but after the change creators would be paid per minute watched and number of subscribers. With this simple change in mind, the format of the tutorial changes entirely, instead of having concise and high quality content the opposite is favored instead, that needs to be daily / lengthier and very verbose. This format is what favors the top 10 YouTubers the most, but for smaller creators making educational content is a disaster in terms of financial.

Either way the best you could do just to have a peek, is to find old video uploads (using special queries). Probably might work or probably not, but at least you would try this to see if you actually see any difference and also compare and combine knowledge with newest tutorials.
eg:
https://www.youtube.com/results?search_query=C%2B%2B+tutorial+before%3A2020

1

u/GuruPentameter 23h ago

coding-concepts and -skills are transferable from one project to another. if you can't identify concepts and acquire skills that are transferable to other projects, like your games, that's on you.

also, if you look for a video about coding up a game, that's what you'll get. that's clearly what you've done. if you are looking to "understand parts of coding instead of teaching somebody to make somebody else’s game", try searching with "how to code". i just did and the first page of results has only one mention of games.

1

u/sai_8303 22h ago

tutorial videos feel weak when they show typing without decsions since the fixes dead ends and reasons behind each step carry the actual learning bootdev could help and practice and feedback around video learning though building small projects alongside also closes the gap

1

u/dinanomartin 21h ago

books cover fundamentals better than most video tutorials. you should try a language primer first.

1

u/Own_Natural_6803 19h ago

If you make a couple games you'll learn what you're trying to learn. Be ok with a little "wax off wax on" daniel-san.

We all learn by copying. Its not plagiarism. Its just how our brains work.

1

u/ohnoitssobig 19h ago

A gen Z trying to learn by watching videos? Am I onto something?

1

u/mredding 15h ago

Why Is Every Coding Tutorial Video Shit?

Because video is almost the most inefficient medium to to teach coding, which is an almost purely textual medium. It's like watching a movie of a book - an actual book, sloooooowly scrolling past the screen, wooooooord by woooooooooord...

The audible/visual media provides more distraction in it's production than substance. That's a shitload of overhead for very little content. The content of a 10 minute video could fit in a single paragraph, and the type of content producers manufacture is slow, simplified, and repetitive for mass appeal and consumption. That's how they get paid! Not by QUALITY! The only quality you can measure of a video are the visuals, the audio, and the consumption. The content itself - the programming, is meta-information secondary to the medium itself.

Stop watching videos. Read a book.

i want to learn how to make games

Good thing I'm a former game developer, though I admit I'm out of the loop some 15 years.

There are multiple places to start. You're going to need a programming language, but that's not enough. Usually you need more context than that, like some sort of game engine. It depends on the style and genre and audience you want to pursue. Javascript is a very approachable language for browser games, and no doubt there are engines for it I'm just not familiar with. Unity seems to be C# centric, and UE is very C++.

They're not hard and fast rules.

Tutorials on Unity or UE aren't going to help you much, since they tend to be such short format, they cannot possibly cover all the complexity necessary to make a full game. Even a SMALL game can be heavy handed endeavor, ESPECIALLY for a beginner.

But learning a language and some sort of context isn't going to teach you how to make a game.

As a programmer, you're going to need to learn Linear Algebra - this is the math of 2D, 3D, and these days a fair bit of 4D you don't even see (by definition you can't, but that's another story). There are math tutorials for LA that are game centric, because LA is a big topic that has broader application than just games, and you don't need an academic understanding of the whole damn domain. Don't panic, it's easy, also fun, and you can play in it and quickly see some results.

Then you're going to need Calculus - this focuses on the rate of change; for us, it'll often be space over time. You need it for both moving Scooter across the map and animating his walk. Don't panic, calculus is actually really easy. Most of the rules you can just follow blindly to get to your results, you don't need to kill yourself with proofs. Again, we're not terribly interested in an academic understanding, just enough to be dangerous.

My son is 8, still learning 3rd grade division, and I'm teaching him LA and calculus. I'm telling you, you don't have to be smart. Math is just more programming for us.

With those two, you can learn rendering and The Light Equation. Your render engine will do most of the heavy lifting, you just need to understand the principles so you know WTF is going on.

You'll have to learn some simple particle physics, collision detection, and perturbation. This is where LA, Calc, and physics come together so you can handle motion in your game, so Mario lands on the platform without falling through, in 2D or 3D.


That's the programming and math part - pick a language, learn some LA, Calc, and physics.

You need project management skills. You need to figure out all that you're planning on doing and how to organize it into actionable items. THIS is why you're not getting anywhere, because if you had this skill, you'd be using it to figure out the things you don't know so you can revise your project plan. Good management does most of the heavy lifting. You work on the design of the game down to the algorithms and data access patterns all without writing a single line of code, because code is an implementation detail, I don't care what language you pick, we should be able to make the same game. You don't get 6 months into the code only to discover you have a value and want a reference, now you have to tear out a whole bunch of shit. You figure that out first.

Seriously, this is actually skill #1. If you develop this skill, I don't even need to explain to you the maths you need, you can use the skill and the process to figure it out on your own.


You don't code in a vacuum by yourself. This is a collaborative effort. You need collaborators. Don't make art yourself, that's the job of an artist. If you have a box that jumps on another box, that's a game. Your focus is all the code mechanics.

Expert programmers experienced in game dev can crank out a game by themselves, that's not where you're at. Ask for help. Find collaborators.