How to Code (almost) Any Feature

How to Code (almost) Any Feature

DaFluffyPotato

4 года назад

649,176 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Two Idiots Play Games
Two Idiots Play Games - 06.10.2023 20:18

Amazing video, i agree with the idea of not always looking it up. I know next to mothing sbtbunity and i looked up how to make an fps controller but i did double jumping myself etc

Ответить
Toooooaaaaad
Toooooaaaaad - 06.10.2023 11:28

Im not kidding when I say this advice immidietly helped me troubleshoot way better, tysm for the advice!

Ответить
Shrippie -
Shrippie - - 06.10.2023 07:19

I literally can't stand tutorials anymore to the point I don't even care to look at tutorials for the basics or basic features for programing languages or programs in general lol

Ответить
Magic Gonads
Magic Gonads - 02.10.2023 14:07

The only thing that might be against this point is that 'reinventing the wheel' can often lead to sub-optimum solutions. Still, it's important to try to solve the problem first so you can have a solid grasp on it for when you reckon with the proper solution. Unfortunately, often the 'tutorials' you'll find online only show the most barebones implementations that are no better than a first-principles solution.

Ответить
Kira eva
Kira eva - 21.09.2023 14:48

This was probably when i realized I could do so much more was when i first started drawing out and trying to implement things my self.
I knew how to code but I just would get overwhelmed or start coding without breaking it down and feeling like I need help to do anything.
its been years since then and sometimes i still forget to this but its helped me so much in realizing that you could build a complicated system if you figure out how to break it down.

Ответить
Laszer271
Laszer271 - 18.09.2023 18:43

I have similar problems in software dev. People ask me how to do their things. I could sit with you and tell you but then you won't learn anything. Even worse, oftentimes coming up with a solution is like 90% of the work done. If I have to sit with you, think things through with you, and come up with a detailed plan then I might as well do this task myself.

Don't get me wrong, sometimes it's valuable to brainstorm a solution or even teach someone so that they are helpful later. But some people just stay as a liability even though their programming skills upgrade to mid or senior-level. It's in the mindset and sometimes I'm lost as to how to change that mindset.

Ответить
DinioDo
DinioDo - 18.09.2023 17:14

useless. we know how the logic works but not the translation method for it on an specific engine.

Ответить
asterling
asterling - 16.09.2023 02:45

i'm not sure what you mean by saying you don't see this taught. beginner core courses in basically any university CS program will teach this.

Ответить
Dogukan Saka
Dogukan Saka - 15.09.2023 22:39

I can't not use fırckın class mate I hate fuctions good but what is class

Ответить
Dylan Simon
Dylan Simon - 08.09.2023 10:09

I remember making wall jumping for the first time was a huge deal for me

Ответить
NFJ
NFJ - 07.09.2023 12:18

what ide do you use

Ответить
Khalid Zouzal
Khalid Zouzal - 03.09.2023 00:15

One more point that I think is worth mentioning when it comes to this is CONFIDENCE. I struggle with it myself. Everytime Im tryna develop a new feature, I tell myself there's prolly a better, more efficient way of doing this, and I start looking for tutorials and end up deviating or giving up on it completely.

Ответить
K A
K A - 31.08.2023 19:46

This is a great video! It's clear you know your stuff and have been programming for quite a while. My biggest issue is your handwriting! If you ever decide to update this video, please type or learn better penmanship lol. I don't mean to be rude, but it's the only thing keeping me from enjoying your content.

Overall, great stuff! I look forward to seeing what you make next.

Ответить
HazeKaito
HazeKaito - 30.08.2023 01:35

I know this video is several years old, but I like to use chatgpt as a learning medium/guide cuz it writes really good explanations when you tell it to write code.

Ответить
slaction
slaction - 28.08.2023 16:55

You have to change the camera movements in that game man. Just watching the movements hurts my eyes, I can't even imagine trying to actually play it.

Ответить
madProgenitorDeity
madProgenitorDeity - 28.08.2023 00:49

How does one program coordinates for an infinite hexagonal grid?

Ответить
a2
a2 - 20.08.2023 17:27

Fallen asleep while listening to ur voice

Ответить
Greybow
Greybow - 19.08.2023 01:40

Hm. Thank you for this!

Ответить
Mavik 🏹
Mavik 🏹 - 17.08.2023 19:58

This video is very good and all, but why in the world would you pick such an unreadable font?! My internet is pretty slow and you can't read whatever's written unless you watch in like 1080p. Just why?

Ответить
Charles D. Wisdom
Charles D. Wisdom - 14.08.2023 09:59

As a software engineer, I think this is a great introduction to the concepts of development. It can go a lot deeper, but you have to start somewhere, and this is a good place. It begin with an excellent point that isn't obvious to non-developers: the important skills you learn as a developer are not specific to one kind of task or domain, but generally how to model desired behavior with computers in general.

Learning how to break down problems and strategically execute on those tasks is what it's all about. A skilled engineer can go from working on games to websites to databases with only having to spend a small amount of time to understand the specifics of the domain they are working in. It can take some practice to get the most out of a set of tools and APIs, but the hard part is always general problem solving.

Ответить
Belhenix
Belhenix - 11.08.2023 22:42

I can't fathom how well explained this is. This is literally lesson one I got when I started programming and most classmates were struggling after that because they missed the whole point. Organizing your toughts from ideas to processes to steps is the whole reason pseudocode exists, stopping right before coding. If done properly, you could design the whole program and have someone else code it for you following your steps because of how neatly organized everything can be, and videogame development is simply one of the many scenarios. It's just like creating a cooking recipe: describe it properly and anyone can follow along, and even if you yourself get lost at some point you can just read again and understand it as long as it's written properly.

Ответить
k98killer
k98killer - 07.08.2023 18:15

The tldw is basically "learn to create and use logical abstractions". It's a fundamental requirement for any kind of programming, not just game dev.

Ответить
Heikki Aho
Heikki Aho - 01.08.2023 17:37

Beautiful looking stuff you've made :o you say those are all open source projects? surely you could make some money out of those as well? :d or do you have something on steam or some place else? 🤔

Ответить
Daswiney
Daswiney - 01.08.2023 03:01

goes to chatgpt “seeing yourself as a senior developer, give me a todo’s of the process for coding a coin system for my py game “

Ответить
Warlock Paladin
Warlock Paladin - 31.07.2023 21:23

One day, I will get my ass in gear and start using Python. 🙃

Ответить
Hyper-
Hyper- - 30.07.2023 03:15

Oddly enough, their voice is relaxing.
Almost like unintentional ASMR

But that's just me and I'm weird

Ответить
planktonfun
planktonfun - 29.07.2023 22:51

This is for beginners

Ответить
Koji
Koji - 27.07.2023 22:50

This was a great video
Thanks for sharing ❤

Ответить
Fuuji
Fuuji - 25.07.2023 00:30

Nice vid bro

Ответить
Emiliano Pena
Emiliano Pena - 24.07.2023 21:01

I get the feeling that double jump would better kept track of with a boolean, updated when grounded, so you can actually say if you have available or not the mechanic to perform a mid air jump (which is what a double jump is). The counter would make sense if you are thinking on adding a several mid-air jumps capacity, in which case it wouldnt be doublejump anymore (triplejump, quadjump, etc).
Now that i've been nerdy enough let me say good video and excelent reminder of what programming is about

Ответить
Wasa120
Wasa120 - 21.07.2023 19:17

I like to break tasks into the smallest possible chunks. it helps with learning

Ответить
DiamondV
DiamondV - 18.07.2023 20:57

Simple
1. Sit down
2. Code the thing
3. Profit

Ответить
Cecell
Cecell - 15.07.2023 07:38

I argue that game dev is not good to learn programming, because game programming is very different from the average programming job. Most jobs are going to value more knowledge of development patterns that are not transversal to game development, plus usually use a microservice architecture and specific frameworks.

Ответить
moonasha
moonasha - 15.07.2023 00:52

as the video says, practice practice practice. I only feel confident putting a game together in unity after... I've lost count now, at least 6 pretty serious projects, of which only 1 was finished. And that's on top of a lot of experience with Flash (AS3, basically Javascript) in the old days. You really just have to get out there and code. ChatGPT is an absolutely invaluable newer tool, but probably not in the way you're using it. You should be asking it for concepts, not code. You should be able to get a paragraph of how A* pathfinding works or something, and be able to write your own code for it. Read the official documentation for whatever language you're using. Study coding patterns (very important), never stop learning

Ответить
CyTic
CyTic - 14.07.2023 12:45

Simple but a good message.

Ответить
K.J. Coleman Composer
K.J. Coleman Composer - 14.07.2023 10:51

I know this isn't completely related, but I've been trying to make recoil for a gun in my game, and Ive never done it before nor am I using a reference video. Needless to say, I've made a bit of a mess in the persuit of brute force code, I was wondering if anyone had any suggestions for a method to go about it?

Currently I've tried an animation with fixed recoil and now dynamic recoil based in changing the rotation and position of the gun, and increasing when rapidly firing. The code is very buggy, often getting stuck while in motion or flying out into space.

Any suggestions, however minute, are appreciated!

Ответить
autumn
autumn - 14.07.2023 03:43

nothing beats pencil and paper. Half of my best sketching happened on 9x12 blank printer paper. there's a fine process of converting brain pseudo-idea into ideas and converting those ideas into pseudocode, but it works so well on paper.

Ответить
Fernofai
Fernofai - 13.07.2023 20:30

I expected something more interesting. Maybe a way to code these features so they all are written in a similar steps, so it makes your code more readable, or so everything remains modular and interchangeable. The key message of this seems to be to THINK first and to only start coding after having thought successfully. But I can understand that one (including me) may need a reminder for that sometimes.

Ответить
Samuel Tekrenius
Samuel Tekrenius - 13.07.2023 14:47

Sidenote: I would enjoy listening to these types of videos so much more, if there was NO background music.

Ответить
August Stas
August Stas - 11.07.2023 13:37

What if i am good at making pseudo code, for example i know how to make player die if they touch the ground, but i dont know how to convert it to code

Ответить
Cool Modder Jaydon
Cool Modder Jaydon - 08.07.2023 21:51

If I were to make a coin system in Unity, I'd basically have the coins add to a public static int called "coinsCollected" or something and add a respective amount for each coin collected.

Ответить
Ann Takamaki
Ann Takamaki - 07.07.2023 11:28

I don’t find coding basic features difficult. However, stuff like organising the code, having cutscenes and cutscene manager, organising what data needs to be saved (for example, in RPGs you need to save xp, stats, money, items and quest states) and loading correct dialogue or correct maps based on how far into the game you get. The reason this is difficult for me is because as you code more and more, it gets more and more confusing.

Ответить
DankMersi
DankMersi - 20.06.2023 03:13

this may seem like a silly question, but does the game physics engine not already have existing code that you can impliment the examples given in the video?

Ответить
Good Fractals Poker
Good Fractals Poker - 17.06.2023 09:57

Thank you for this video good brother you help me develop my first app and easy my mind when it comes to developing new features.

Ответить
Colonies || (Simulation Dev)
Colonies || (Simulation Dev) - 15.06.2023 13:52

not baddd video

Ответить
Jas Developer
Jas Developer - 14.06.2023 06:08

How about randomize level

Ответить
Tony Kastaneda
Tony Kastaneda - 13.06.2023 10:01

These theory and fundamentals is actually really helpful while learning photoshop and illustrator

Ответить
SingularBDC
SingularBDC - 13.06.2023 07:00

Your voice is so boring, like you gave up on life. But your words and overall content more than makes up for it too keep us engaged. Awesome video! Subscribed!

Ответить
HyperCodec
HyperCodec - 13.06.2023 06:56

The way I learned this is by simply making things from scratch without Wikipedia or Google. I've made working 3d renderers and physics engines in a very small amount of time just by trying things out and inventing my own theories about how it should work.

Coding is a much better learning process when you do everything yourself, and sadly I don't see that being taught anywhere anymore. We always search the web for answers, but the most personally valuable answer is going to be one drafted yourself, even if it requires improvement or redesign later.

Ответить
Josh Smith
Josh Smith - 11.06.2023 22:38

When I started programming I could follow the tutorials and modify the code to add a feature here and there, but when I'd try starting from a blank project I would be so lost. Practice is definitely the best teacher here. Take what you learn from the tutorials and start small and just keep adding features. As your skills improve, you'll only need tutorials for concepts that are new to you. For instance, I needed collisions detection as well as collision resolution tutorials as well as watch some refresher math videos before I could add simple physics to a 2D game.

Not good advice, but I'm going to say it anyway...Chat GPT helps a lot. You can ask it to provide an explanation on how to implement a feature, and if you're still stuck ask for a code example. You'll still need to know the language pretty well to determine if the code provided will work or not or why it behaves the way it does.

Ответить