- 27
- 752 810
Game Dev Beginner
United Kingdom
Приєднався 18 лют 2020
In-depth game development tutorials and resources for beginners.
How to code game logic
The first 500 people to use my link skl.sh/gamedevbeginner01251 will get a 1 month free trial of Skillshare!
Become a Channel Member: ua-cam.com/channels/8wTcfcC3JY3pU7_Cn7za6Q.htmljoin
Want to know how to CODE in Unity? Get my online course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B
---------------------------------------------------
00:00 Intro
01:58 What is code?
05:28 Functions
07:56 What triggers game logic?
11:18 Compiling code
12:44 Outro
What is code, really? and how can you use it to make logic in games? In this video, you'll learn what programming a game involves, how code basics can be used to create logic, and how the code that your write is turned into a finished, working, product.
#indiegamedev #gamedesign #gamedevelopment #programming #csharp #unity
CREDITS:
---------------------------------------------------
Music:
In the Atmosphere - Bad Snacks
New Year - Bad Snacks
A Caring Friend - Bad Snacks
Caverns - Bad Snacks
Take it Easy - Bad Snacks
Artist link: ua-cam.com/channels/BCI_QCAMe1hx8UNyvJlM_Q.html
DISCLAIMER
---------------------------------------------------
This video is sponsored by Skillshare.
Become a Channel Member: ua-cam.com/channels/8wTcfcC3JY3pU7_Cn7za6Q.htmljoin
Want to know how to CODE in Unity? Get my online course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B
---------------------------------------------------
00:00 Intro
01:58 What is code?
05:28 Functions
07:56 What triggers game logic?
11:18 Compiling code
12:44 Outro
What is code, really? and how can you use it to make logic in games? In this video, you'll learn what programming a game involves, how code basics can be used to create logic, and how the code that your write is turned into a finished, working, product.
#indiegamedev #gamedesign #gamedevelopment #programming #csharp #unity
CREDITS:
---------------------------------------------------
Music:
In the Atmosphere - Bad Snacks
New Year - Bad Snacks
A Caring Friend - Bad Snacks
Caverns - Bad Snacks
Take it Easy - Bad Snacks
Artist link: ua-cam.com/channels/BCI_QCAMe1hx8UNyvJlM_Q.html
DISCLAIMER
---------------------------------------------------
This video is sponsored by Skillshare.
Переглядів: 11 000
Відео
How to start making a game
Переглядів 6 тис.2 місяці тому
Are you a new developer? Want to know how to CODE in Unity? Get my online course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B 00:00 Intro 01:08 What kind of game should you make? 05:48 How big should your first game be? 08:55 How to start making a game 11:09 The BEST game engine to use 12:25 How to manage your project 15:04 Outro If you want to start making...
How to write a Game Design Document
Переглядів 17 тис.2 місяці тому
Are you a new developer? Want to know how to CODE in Unity? Get my online course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B 00:00 Intro 00:55 Why would you need a Game Design Document? 02:45 How to make a Game Design Document 06:10 Picking a format 07:59 The One-Page Method 11:52 Outro Game Design Documents are extremely useful for keeping your game devel...
Script initialisation in Unity doesn't work how you think
Переглядів 2,1 тис.3 місяці тому
Are you a new developer? Want to know how to CODE in Unity? Get my online course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B 00:00 Intro 00:49 How event messages work 02:10 Awake and On Enable are different 03:30 How new object initialisation works 04:43 Why is this important? 06:00 Outro Awake, On Enable, and Start, might not work in the way that you expe...
How to split up your scripts in Unity (the easy way)
Переглядів 6 тис.3 місяці тому
Want to know how to CODE in Unity? Get it on Udemy here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B Video promo (Gumroad only): get 50% off gamedevbeginner.gumroad.com/l/how-to-code-in-unity/46ce63j (Limited to 100 customers) 00:00 Intro 01:22 What is Single Responsibility? 02:54 How to split up scripts 04:43 How to connect them together again 07:05 Outro Have ...
Timing in Unity (and why it's so important)
Переглядів 2,7 тис.4 місяці тому
Want to know how to CODE in Unity? Get my course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B 00:00 Intro 00:49 Event Execution Order 05:00 Instance-Based Order 06:20 Function-Based Execution 09:10 Outro You might be surprised by just how many errors, bugs, and unexplained issues in Unity are actually caused by timing. In this video, taken from the beginner...
How to CODE in Unity (online course)
Переглядів 9 тис.11 місяців тому
Learn how to write your own code in Unity by mastering the basics of C# scripting. Get the course: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B Music: Block Party - Bad Snacks Artist link: ua-cam.com/channels/BCI_QCAMe1hx8UNyvJlM_Q.html
Trying Godot (as a Unity user) for the first time
Переглядів 3,6 тис.Рік тому
Is it easy to switch from Unity to Godot? What's different, what's the same? And, if you wanted to switch, how difficult would it be? I find out, by trying Godot for the first time, on camera, for your enjoyment. 00:00 Intro 03:14 Hello Godot 07:05 Making a cube 09:12 Physics! 17:05 Moving the object (with a Script) 25:17 Jumping 29:58 Camera movement 36:36 Physics Process 37:26 Outro LINKS God...
Singletons in Unity (done right)
Переглядів 18 тис.Рік тому
Want to know how to CODE in Unity? Get my course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B Learn the pros & cons of using singletons in Unity, and decide for yourself if they can help you to develop your game more easily. 00:00 Intro 00:47 What is a Singleton? 02:39 Why use a Singleton? 03:00 Drawbacks of using Singletons 05:45 Is it ok to use Singletons...
Connecting scripts on the same object in Unity
Переглядів 13 тис.Рік тому
Want to know how to CODE in Unity? Get my course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B Learn how to connect scripts and systems together on the same object in Unity. 00:00 Intro 00:47 What's the problem? 03:18 Step 1. Local Singletons 05:54 Step 2. Automatic references using Inheritance 08:02 Step 3. Abstraction with Actions 12:23 Benefits 13:30 Draw...
Is Unity free? (and will you ever need Unity Pro?)
Переглядів 15 тис.2 роки тому
Want to know how to CODE in Unity? Get my course here: www.udemy.com/course/how-to-code-in-unity/?referralCode=7D4BCF4F86A840FB720B Find out how Unity's licensing tiers work and if you'll ever need to upgrade to Unity Pro. 00:00 Intro 01:32 Unity subscription tiers explained 04:00 Unity Personal 06:40 Unity Plus 10:08 Unity Pro 11:20 Unity Pro Preferred Platform Keys 12:32 Which version of Unit...
How to jump in Unity (with or without physics)
Переглядів 52 тис.2 роки тому
How to jump in Unity (with or without physics)
The right way to pause a game in Unity
Переглядів 65 тис.2 роки тому
The right way to pause a game in Unity
How to get a variable from another script in Unity (the right way)
Переглядів 105 тис.2 роки тому
How to get a variable from another script in Unity (the right way)
How to move objects in Unity (3 methods)
Переглядів 55 тис.2 роки тому
How to move objects in Unity (3 methods)
Coroutines in Unity (how & when to use them)
Переглядів 34 тис.2 роки тому
Coroutines in Unity (how & when to use them)
How to convert the mouse position to world space in Unity
Переглядів 40 тис.2 роки тому
How to convert the mouse position to world space in Unity
How to make a Countdown Timer in Unity (in minutes + seconds)
Переглядів 38 тис.3 роки тому
How to make a Countdown Timer in Unity (in minutes seconds)
How to Play Audio from a Script in Unity
Переглядів 24 тис.4 роки тому
How to Play Audio from a Script in Unity
omg this is just what I needed for my city builder!! Now, I just need to stick some code to snap to the grid to move on to smth else :3 thxx~
Thank you! I have a guide on that too if it helps: gamedevbeginner.com/how-to-snap-objects-in-game-in-unity/
@GameDevBeginner omg I couldn't find it thank you so muchhh!!
@@GameDevBeginner Omg it worked!! :3
This is perfect! I'm working on a game right now and it's so hard to stay organized!
Thanks! Great explanation. Will be good to extend it with some visual examples. I implement this tutorial on collided spheres. On collision it gets red color than after time it returns to initial color gradually. When I collide after short time, before active coroutine is activeше causes flickering of color. So to solve it - we need to stopCoroutine()
very good
Every video that has something bad to say about singltons is "if you code badly, your code will be bad". Like, yah...if back yourself into a singleton for player and add players, you done messed up...I'd imagine this is why a good design document would probably be helpful before you do TOO much coding.
Thanks for this. This helped me distill my infinite zoom mind map into a 1 page design doc that I'm super proud of. It felt like rediscovering my game all over again and the whole project feels more real than it ever has. Powerful approach!
Vídeo legal, explicou bem
This is the most comprehensive video about singletons and their uses I've seen ! Thank you kind sir
This made me totally understand events in a new light, amazing explanation!
3:39 you forgot to put . 0f after that 100.
You only need to add f to a decimal literal, because the implicit type is double, not float. It works fine if it's a whole number though
@@GameDevBeginner Its a type-mismatch since the compiler will implicitly convert the hundred into double but you are storing *it* as a float.
@@hsjwvsno. conversion of constants is done in compile time. since this is initialization, 100 will be represented as float
@@hsjwvs in Unity C# this hasn't been a problem (compiles fine and works as expected) unless I perform a calculation when assigning, in which case I need to specify the type. I realise that this might not be the same in other languages though.
@@GameDevBeginnerI see now, I mixed it up with C/C++. I always write it 100.0f if im using float or any other native data type. Wow they're so simillar that I thought both apply for the same thing...
This is a very well constructed resource. I personally use Python and the pie game library to code. Options like unreal, unity, and even godot required much higher processing power than I had available to me at the time. Pygame offered the perfect level of entry for my needs. Though I have updated my system I have become attached to the python game library and it’s community. That being said, even though I am not using an engine and using a entirely different language, the information that you provided is still very helpful and has a universal appreciation, thank you ❤
lol you are using python and talking about processing power? you should consider using proper programming language, not school toy language
@ I am just starting so if my language is not advanced I am not offended. I am very proud of myself all the same 😇
@ you can't learn basics of programming when you use language that do not provide capabilities to use them
@ I am sure there are greater heights to come but for now I am ok learning to crawl before I walk. I start making games a year ago and I only used UA-cam videos, books I read, and chap gpt to learn on my own. Now that I am becoming confident in python I am sure I will try other languages at some point 😊
@ you are running fast... you don't know many aspects of what you're doing. python gives you illusion of knowledge. at some point you either would start from complete beginnings to understand how lower level langs work or just stick to python, cuz complex basic things are not easy to learn when you already can program everything in python.
your contents are knowledgeable and clear. Hope you do a lot more videos!
That background music is way to loud and annoying. :(
I wish I had seen this video sooner
good video. channel deserves more activity
Perhaps the best source for learning gamedev/unity/c#. You have no idea how much I have appreciated your videos and blogs. Always easy to follow and understand, always concise and high quality. Thanks so much for the amazing work you put out!
Thank you so much!
Could someone identify the code theme used in the vid?
It kiiinda looks like Gruvbox but not quite.
@@panagosu yeah it’s Gruvbox, but I think it’s a little different to most gruvbox themes. I haven’t been able to find the same theme for VSCode
@@GameDevBeginner is this Unity’s in-engine code editor? I am not a Unity dev.
@@panagosu I've been using Visual Studio, but that's now deprecated on Mac. VS Code is the closest alternative but I can't find a Gruvbox theme that matches my old one
What is the source of the website at 8:39??
Here you go: docs.unity3d.com/6000.0/Documentation/Manual/execution-order.html
You gonna tell us the lore of souls like games, lol
Really good video, made me understand a couple things better.
Dude this isnt even your video, stole this from Game Makers ToolKit very disappointing
We do sound alike. But no, if he has a video like this it’s news to me.
You'd be foolosh to expect any originality from youtube devs.
the most underrated dev channel, youve made these concepts very easy to follow, thank you!'
Thank you!
It would be really cool if you made a video about data-oriented programming and/or Unity Dots. Really nice video again, good work!
I'll see what I can do 👍🏻
As someone currently working with DOTS, it's not beginner friendly. It's definitely something you should avoid until you are really good at OOP.
Yeah, i need that tutorial!!
will you make an tutorial on something like an inventory system?its something many games have and it uses some universally usefull concepts like lists and UI
I might do yeah, I already wrote an article on it, and it's the kind of thing that's actually really different depending on how you want it to work. Also, it's probably the first time a beginner will have a need for a 'plain class' in Unity.
The first 500 people to use my link skl.sh/gamedevbeginner01251 will get a 1 month free trial of Skillshare!
send a message with the variable included, even dirtier you can send a message with the entire object sender included. A super mega dirty way is to send a message to all in range including yourself then figure out who does what by checking the object inner variables yeah, I'm sick of coding, can't you tell ;)
Dude... This is the way i need things explained to me, i love how you take the time to explore thought processes.
I used to keep a draft email where I'd just jot down all my game ideas as I get them, and work on them over time as and when I can. I moved to using Obsidian more recently, but typically still use a one-pager for all my ideas, and if it grows too large, I can just give it it's own page and link back to the main one.
great perspective!
Okay I like the concept, now I just have to find out about all those fancy names and how to use the thing the names refer to i guess :D
After watching this video I am willing to learn through your Udemy Course.
Thank you! Hope you find it useful.
Superb Information in easy way, Thanks Brother
i keep putting off and putting off. The pickle I am in is which engine to use, since I started in Unity, till the curfuffle.
When they announced the runtime fee in 2023, I think it was, even I thought about using a different engine, and my channel is mostly Unity content. But personally, I'm really happy with the changes they've made since. That said, starting in any engine is better than not starting.
Could anyone tell me what theme is he using?
Gruvbox
thanks a lot
The fact that this video doesn't have 100s of thousands of views is beyond me. Keep up the amazing work! getting to the meat and bones and straying away from the cliches
OMG this is like the single most useful video in all of youtube related to Unity!
it said type or namespace player (the thing i'm trying to get a bool from) could not be found and while i try to set an assembly reference because of the error it wont show up
Is it only me or do other people use animationcurve in tandem with lerp functions? is their any downside to this or any problems? i never hear people talking about it and it's what i use always becasue it does exactly what i want.
I do this too and it's great. Makes it easy to change easing curves in the Inspector.
I can tell we will be friends just by looking at your tool bar. impressive
Implemented a coroutine, was fucking up the game , saw this video, turns out I DIDN'T need a coroutine
This explanation is really good. I've watched five or six of different videos about coroutines, but only thing I understood was corutines are like complicated timer thing. But now I really understand, what is corutine, how it works and its usage. Thanks!
dosen't work.... but good tutorial
"Doesn't work" doesn't describe a problem.
This is absolutely one of the best introduction videos I have ever encountered about how to start game development. Its strict to the point, very informative and without any foolish "You have to use this engine" or "You have to start making a simple platformer". Very good work.
Thank you so much!
this is the golden raycast documentary
Pleeease teach quaternion bro I’m soo confused and you help sm
You are awesome
I read a lot of your articles. So helpful! You're a legend
yoo, you're the goat