1 Easy Habit To Level Up Your Godot Game

  Рет қаралды 33,746

StayAtHomeDev

StayAtHomeDev

Күн бұрын

Become a better Godot game developer by starting this easy habit when creating your game dev projects.
🔥 GET THE SOURCE FILES ►► / stayathomedev_
👉🏼 FREE BASIC FPS SETUP SOURCE FILES ►► github.com/Sta...
-----------------------------------------------------------------------------------
✅ Basic FPS Setup Video ►► • Make An FPS in Godot 4
-----------------------------------------------------------------------------------
This tutorial is sponsored by my Godot FPS Project where we will walk through how to create an 3D FPS game in Godot 4, step by step. I won't be skipping any steps in the process and everything will be sequential video to video.
This initial basic FPS setup project is available for free to download and use using the MIT license via the link below. For all future videos, the project source files will be available to my GitHub Sponsors.
Joining my Patreon in one of the 3 tiers will give you:
access to the private Discord channel
your name in the project README
early access to tutorial videos
power to vote on what mechanics get covered in future videos
full access to the project source files to use in your own projects
-----------------------------------------------------------------------------------
Games Featured (in order)
Engine Roar
Gunmetal Gothic
Endoparasitic
Koira
-----------------------------------------------------------------------------------
STAYATHOMEDEV ►► stayathomedev.com
TWITTER ►► / stayathomedev
GODOT ASSET MARKETPLACE ►► godotxc.com/
#godot #godotengine #godot4

Пікірлер: 52
@stayathomedev
@stayathomedev Жыл бұрын
🔥 GET TUTORIAL SOURCE FILES ►► www.patreon.com/StayAtHomeDev_ 👉🏼 FREE BASIC FPS SETUP SOURCE FILES ►► github.com/StayAtHomeDev-Git/FPS-Godot-Basic-Setup
@sandrinowitschM
@sandrinowitschM Жыл бұрын
First 15 seconds: "ugh preach! Wait are we talking about gamedev or my life?"
@stayathomedev
@stayathomedev Жыл бұрын
Organize your life variables too?!?!
@sandrinowitschM
@sandrinowitschM Жыл бұрын
@@stayathomedev too many variables, not enough RAM 😵‍💫
@tiacool7978
@tiacool7978 Жыл бұрын
@sandrinowitschM obvious noob. You're supposed to download more RAM. :/
@nowonmetube
@nowonmetube Жыл бұрын
​@@tiacool7978we're talking about your adhd
@GerlachGaming-rt3gj
@GerlachGaming-rt3gj 2 ай бұрын
BOTH! Lol
@justaway_of_the_samurai
@justaway_of_the_samurai Жыл бұрын
Also use git to manage your source code. Make commits regularly, such as before you stop working for today or when you have a large chunk of changes done. You can use this to revert the project back to an earlier point. You can branch off and work on different components separately and merge back in later. If you work out of a project folder with no backups and restore points, you will be living in constant fear that you will break something and be completely unable to undo it. But with GIT, you can create save states for yourself and undo all current changes if your attempted solution to a problem grows out of hand.
@iamyourgreatgreatgreatgrea6291
@iamyourgreatgreatgreatgrea6291 Жыл бұрын
While good for the purpose of always having a backup accessible (granted the Github/Gitlab or whatever server doesn't go down of course), it's also important to remember that it indeed means putting your code publicly online. And what's more, is that the likes of Github are owned by Microsoft, all and any code uploaded there is then under their full ownership. Not sure about Gitlab though, but I don't fully trust them either. I still prefer storing things on hard drives or USB sticks, and considering how available and cheap they are nowadays, I don't see a reason not to.
@justaway_of_the_samurai
@justaway_of_the_samurai Жыл бұрын
@@iamyourgreatgreatgreatgrea6291 Everything you said is wrong. Your repositories on github can be private so only you and a select team see them. Neither Microsoft nor Github own your code if you use Github as your origin. Also even if you really don't want to use an origin server, you can still use git locally to stage all your changes in the exact same way, so you can manage all your branches and commit history on your own hard drive without ever having to ever upload it anywhere
@iusniko
@iusniko 8 ай бұрын
@@iamyourgreatgreatgreatgrea6291 He talks about local git repository. It is not related to Github or Gitlab in any way, it is stored on your local machine.
@1nan1s
@1nan1s 7 ай бұрын
​@@iamyourgreatgreatgreatgrea6291it isn't actually means putting your code publicly. If you want to use github/lab you can choose private repository. And main comment doesn't talk about centralised systems like GitHub, only about using git system, which you can use on your own server
@willerxxmiller
@willerxxmiller Жыл бұрын
Good video. I would suggest zooming in to the sections of the window you're talking about. On mobile i can't really make out what you're showing.
@stayathomedev
@stayathomedev Жыл бұрын
Noted!
@ArcWeltraumpert
@ArcWeltraumpert 10 ай бұрын
yup, nice narration but bad camera perspective.
@MatrixQ
@MatrixQ Жыл бұрын
When it comes to having a lot of exposed variables, it can also help to make a Resource for it. PlayerData is a good example of that sort of thing. Instead of having the data directly on the player, let the player expose only a resource variable and put all the data you need into that resource. You can set up that resource as its own file, so if you need it in multiple places, you can drag and drop it in the inspector, and it frees up the variable definition in your other classes to only have the variables they need for what they are specifically designed to do. Also makes it easier to pass as a parameter, since all the data is already bundled up. You can even offload some functions into a resource like that, as long as it doesn't need any functions derived from Node. As of, I think, 4.2, there's even collapsible code regions, which allow you to define regions in your code, that you can fold in, so they only take up 1 line. Typically, it's better to have smaller scripts in general, but sometimes it can't be helped, and this can help you stay on top of the mess.
@SandarianMD
@SandarianMD Жыл бұрын
As a newcomer to Godot, this was fantastic. Thanks!!
@theeox
@theeox 9 ай бұрын
Wow, I didn't know about the inspector organization. I am definitely going to start using that!
@SlyRocko
@SlyRocko 11 ай бұрын
The style guide page in general is incredibly helpful for organising your scripts, and making it easier for other people to read your scripts in the cases of programming teams, teaching or open source
@survival_man7746
@survival_man7746 Жыл бұрын
So precise and short, I really like it ! You just got a new subscriber ❤️
@Aye_Sid
@Aye_Sid Жыл бұрын
Wow!!! That's awesome. Thanks for the video. 😀🙌
@Afreshio
@Afreshio Жыл бұрын
This was awesome. I'm subscribed since months ago, and I always give you an insta thumbs-up. But with this video I'm also gonna save it in a specific playlist. You're doing the Lord's work. Thanks, man.
@yigitrgeles
@yigitrgeles Жыл бұрын
this is awesome!
@ReleeSquirrel
@ReleeSquirrel 10 ай бұрын
Good stuff. I already ordered my code but I don't think I was using the godot standardization for it. It's been a while, but I'll have to go through the style guide again. Good stuff. Also good for sharing all that info about the exports. I knew about that stuff but it's good useful info for anyone who didn't!
@Thomas-jj1ev
@Thomas-jj1ev Жыл бұрын
We definitely could need a linter for this. would help a lot for solo and even more for development within teams.
@HeathTheCoder
@HeathTheCoder Жыл бұрын
I will definitely start using these, thanks!
@UlshaRS
@UlshaRS 7 ай бұрын
Trying to climb out of tutorial hell and only two short videos into the YT suggestion and already gotten so much from your content.
@pipeliner8969
@pipeliner8969 Жыл бұрын
great video!
@stevepine3568
@stevepine3568 Жыл бұрын
yes yes yes yes and more yes :) I always get lost, but mainly bcs I'm doing it alone and loose focus. I'm already organized like this, but didn't know there was an order for vars, thx for the info.
@Nikrobaby
@Nikrobaby Жыл бұрын
Awesome life hack's,as always! Thanks a lot!
@andrewgrinn3435
@andrewgrinn3435 Жыл бұрын
I'll have to keep this video in mind.
@v-alfred
@v-alfred 11 ай бұрын
Awesomeee, I didn't know those
@charliegnu
@charliegnu Жыл бұрын
Code formatting should definitely be done by the editor itself. Other modern languages come with their own formatters out of the box. The more opinionated/strict the better, it means less bikeshedding decisions I need to make. I've seen there's a separate formatter for Godot but it should be built-in.
@snowowy
@snowowy 6 ай бұрын
I don't strictly follow the order because I like to sort things categorically, so all movement related variables and signals would be next to eachother (ordered by type ofc)
@nephew_tom
@nephew_tom Жыл бұрын
Very useful! ❤
@Daseril
@Daseril Жыл бұрын
very helpful
@SnowyFoxFox
@SnowyFoxFox Жыл бұрын
Good tips nicely presented, though I would have appreciated a less vague title and thumbnail as I personally learned literally nothing new from this. Something as little as "organise your variables!" or "write tidier scripts!" in finer print at the bottom of the thumbnail would've given us an idea of what the video was about and whether or not it's something we're already familiar with.
@ivana.medina3126
@ivana.medina3126 Жыл бұрын
Eggcelent!
@rohithreddy75
@rohithreddy75 Жыл бұрын
Its great that you only gave 1 advice :)
@mariegrasmeier9499
@mariegrasmeier9499 Жыл бұрын
Love it
@keithwinget6521
@keithwinget6521 Жыл бұрын
Haha, I do signals at the bottom, but otherwise the same. It's just a habit. I like having signals right above my first true function for some reason. Lately using setters in my member declarations a lot has made it look a bit messier, but I can collapse those or add code regions for that now, so it's all good.
@MuffinMan_Ken
@MuffinMan_Ken Жыл бұрын
The really important thing is to have a standard, any standard, so you're doing well. For anyone who doesn't have their own standard, Godot's is a good place to start.
@mojo.monkey
@mojo.monkey Жыл бұрын
I like to do @exports and @onreadys next to each other, but otherwise I follow what the guide has.
@Afreshio
@Afreshio Жыл бұрын
AS long as you are consistent, it's really fine. Especially if you are doing solo game dev.
@death-dg3ns
@death-dg3ns 5 ай бұрын
You forgot the important one about organizing resource folders. I'm already using this tips, but all yes anyway:( I think the answer is design document, but I hate paperwork
@pro.giciel9084
@pro.giciel9084 Жыл бұрын
Nioce you could have mentioned the #region that is pretty new
@Dracalis
@Dracalis 5 ай бұрын
Just a couple of notes about terminology: 0:50 "Constant" and "variable" are antonyms. A "constant variable" is an oxymoron. Those would be "constant property" and "variable property". 1:23 The "export property" is actually the "export attribute".
@DevJeremi
@DevJeremi Жыл бұрын
This way of organize code is pretty same in other langues. Const are const, not const variables. Second @export_group are no use for me as I always make scripts short with few exports, so it solving it self. And I think is better to use short scripts that you don't have to use @export_groups than using @export_groups in long scripts.
@fantomas1770
@fantomas1770 11 ай бұрын
ok nerd
@bahtiyarozdere9303
@bahtiyarozdere9303 Жыл бұрын
I loved the video thank you. Just one tiny thing. Constants are not Variables. I feel like a triggered Code Karen 😅
@stayathomedev
@stayathomedev Жыл бұрын
Good point!
@sebbe2506
@sebbe2506 Ай бұрын
What is the game at 0:20?
Godot Cel-Shading in 5 Mins
4:34
StayAtHomeDev
Рет қаралды 42 М.
5 Games Made in Godot - This Week in Godot (2/8/25)
12:12
StayAtHomeDev
Рет қаралды 9 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,4 МЛН
7 Optimization Tips to 10X your Game Performance
5:23
Venex Source
Рет қаралды 27 М.
How I Mastered GODOT In Only a WEEK!
7:08
Simplicity
Рет қаралды 27 М.
Why I am NOT Making These Enemies
17:06
Deynum Studio
Рет қаралды 250 М.
A new way to generate worlds (stitched WFC)
10:51
Watt
Рет қаралды 561 М.
Ultimate Indie Gamedev Genre Tierlist
28:58
BiteMe Games
Рет қаралды 264 М.
THIS Is The Key To Good UIs in Godot
9:39
Mina Pêcheux
Рет қаралды 10 М.
You're not using Godot to its potential
6:12
Tienne_k
Рет қаралды 111 М.
Godot Scripts I add to Every Game
12:34
Aarimous
Рет қаралды 80 М.