CodeNMore
CodeNMore
  • 129
  • 12 375 853
Godot Basics: Control Fundamentals (Anchor, Margin & Containers)
This crash-course shows the bare-bone basics that you need to know to effectively use Godot's Control nodes to make user interfaces. This means understanding how anchors, margin, and containers work! Godot Basics is a series covering common Godot topics for newcomers to the engine.
0:00 Introduction
0:38 Anchors
5:20 Controls without a Parent
6:02 Margins
6:56 Rect Position & Size
7:44 Rect MinSize
8:28 Grow Direction
9:40 Containers
12:18 Size Flags
15:00 Outro
Control Node Docs: docs.godotengine.org/en/stable/classes/class_control.html
Container Node Docs: docs.godotengine.org/en/stable/classes/class_container.html
See my website: codenmore.github.io/
Teaching to understand all subjects to the fullest extent!
Thumbnail: Godot Logo (C) Andrea Calabró Distributed under the terms of the Creative Commons Attribution License version 3.0 (CC-BY 3.0). creativecommons.org/licenses/by/3.0/legalcode.
zhlédnutí: 10 521

Video

[30] Let’s Make a Godot Space Shooter: Rapid Fire Power-Up
zhlédnutí 2,6KPřed rokem
We add another power-up to our game to allow for faster shooting! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects t...
[29] Let’s Make a Godot Space Shooter: Spawning Power-Ups
zhlédnutí 1,8KPřed rokem
We add a randomized spawner for power-ups! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! T...
[28] Let’s Make a Godot Space Shooter: Shield Power-Up
zhlédnutí 1,8KPřed rokem
We add a shield power-up to our game! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! Thumbn...
[27] Let’s Make a Godot Space Shooter: Screen Shake
zhlédnutí 4,8KPřed 3 lety
We add a screen shake effect! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! Thumbnail: God...
[26] Let’s Make a Godot Space Shooter: Score & Bullet Bug
zhlédnutí 2,5KPřed 3 lety
We add player score and fix a small bullet bug! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest exte...
[25] Let’s Make a Godot Space Shooter: Enemy Death Effect
zhlédnutí 3,6KPřed 3 lety
We create a simple enemy death effect! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! Thumb...
[24] Let’s Make a Godot Space Shooter: Enemy Spawning
zhlédnutí 6KPřed 3 lety
We make a basic enemy spawning system! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! Thumb...
[23] Let’s Make a Godot Space Shooter: Bouncing Enemy
zhlédnutí 2KPřed 3 lety
We create a horizontal moving bouncing enemy! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent...
[22] Let’s Make a Godot Space Shooter: Shooter Enemy
zhlédnutí 3KPřed 3 lety
We create a simple enemy who can shoot! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! Thum...
[21] Let’s Make a Godot Space Shooter: Fast Enemy
zhlédnutí 2,2KPřed 3 lety
We make a simple fast-moving enemy! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! Thumbnai...
[20] Let’s Make a Godot Space Shooter: Base Enemy
zhlédnutí 3,1KPřed 3 lety
We create the base enemy scene! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! Thumbnail: G...
[19] Let’s Make a Godot Space Shooter: Z-Indexing
zhlédnutí 2,6KPřed 3 lety
We fix some visual sorting issues using z-indexing and canvas layers! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjec...
[18.2] Let’s Make a Godot Space Shooter: Player Life Signal
zhlédnutí 2,7KPřed 3 lety
We make the player's life connect with the HUD! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest exte...
[18.1] Let’s Make a Godot Space Shooter: Simplistic HUD
zhlédnutí 3,4KPřed 3 lety
We make a very simple HUD to display lives! Let’s Make a Godot Space Shooter together - a series covering basic Godot concepts and workflows to create a full PC, mobile, and controller-supported game! See my website (source code link available per-episode!): codenmore.github.io/ Follow me on Twitter - @CodeNMore - CodeNMore Teaching to understand all subjects to the fullest extent! ...
[17] Let’s Make a Godot Space Shooter: Meteor Break Effect
zhlédnutí 2,2KPřed 3 lety
[17] Let’s Make a Godot Space Shooter: Meteor Break Effect
[16] Let’s Make a Godot Space Shooter: Bullet Hit Effect
zhlédnutí 3,5KPřed 3 lety
[16] Let’s Make a Godot Space Shooter: Bullet Hit Effect
[15] Let’s Make a Godot Space Shooter: Invincibility Shield
zhlédnutí 3KPřed 3 lety
[15] Let’s Make a Godot Space Shooter: Invincibility Shield
[14] Let’s Make a Godot Space Shooter: Meteor Damage
zhlédnutí 3,9KPřed 3 lety
[14] Let’s Make a Godot Space Shooter: Meteor Damage
[13] Let's Make a Godot Space Shooter: Shooting Meteors
zhlédnutí 7KPřed 3 lety
[13] Let's Make a Godot Space Shooter: Shooting Meteors
[12] Let's Make a Godot Space Shooter: Meteors
zhlédnutí 5KPřed 3 lety
[12] Let's Make a Godot Space Shooter: Meteors
[11] Let's Make a Godot Space Shooter: Starfield Particles
zhlédnutí 6KPřed 3 lety
[11] Let's Make a Godot Space Shooter: Starfield Particles
Code Review, Advice & Finale - 35 - New Beginner 2D Game Programming
zhlédnutí 20KPřed 3 lety
Code Review, Advice & Finale - 35 - New Beginner 2D Game Programming
[10] Let's Make a Godot Space Shooter: Remote Tree & Bullet Removal
zhlédnutí 4,6KPřed 3 lety
[10] Let's Make a Godot Space Shooter: Remote Tree & Bullet Removal
[9] Let's Make a Godot Space Shooter: Firing Cooldown
zhlédnutí 8KPřed 3 lety
[9] Let's Make a Godot Space Shooter: Firing Cooldown
Godot Basics: Timer & Node Signals
zhlédnutí 12KPřed 3 lety
Godot Basics: Timer & Node Signals
[8] Let's Make a Godot Space Shooter: Bullet Firing Positions
zhlédnutí 7KPřed 3 lety
[8] Let's Make a Godot Space Shooter: Bullet Firing Positions
[7] Let's Make a Godot Space Shooter: Bullets
zhlédnutí 12KPřed 3 lety
[7] Let's Make a Godot Space Shooter: Bullets
Godot Basics: Vectors
zhlédnutí 16KPřed 3 lety
Godot Basics: Vectors
Beginner Electronics - 31 - Binary Subtractor
zhlédnutí 40KPřed 3 lety
Beginner Electronics - 31 - Binary Subtractor

Komentáře

  • @jagmarc
    @jagmarc Před 11 hodinami

    Wow this takes me right back to preschool days seeing my mom switch a light on.

  • @gamerschuck4391
    @gamerschuck4391 Před 2 dny

    it was fun and I watch the whole thing in one day 1-20 were familiar to me, 21-30 new stuff

  • @gamerschuck4391
    @gamerschuck4391 Před 2 dny

    this first vids are that simple a 5th grader can understand them properly

  • @ucok1789
    @ucok1789 Před 3 dny

    mantap👍

  • @Lv-eg4xh
    @Lv-eg4xh Před 4 dny

    You are a treasure 🙏🏼🙏🏼

  • @SanteeRocks
    @SanteeRocks Před 4 dny

    understood, u just explained it 10 times xD

  • @SanteeRocks
    @SanteeRocks Před 4 dny

    How can you determine which end is the beginning ?

  • @Inexactbeetle
    @Inexactbeetle Před 4 dny

    That sofa king cool thank you so much :') 🙏

  • @MrTEMTA
    @MrTEMTA Před 4 dny

    Why not only resistors in a circuit?

  • @ThePhosee
    @ThePhosee Před 5 dny

    @CodeNMore I wish you could could finish the source. It is good

  • @DayumAli
    @DayumAli Před 5 dny

    Unbelievably to the point. All of your videos that is. Love <<3

  • @maxovina7177
    @maxovina7177 Před 6 dny

    super video!

  • @adewumisogo9971
    @adewumisogo9971 Před 6 dny

    Thank you for the lesson. My question is this... how do you know the whole to plug in the wires on the bread board starting from the power box?

  • @Johnny99993
    @Johnny99993 Před 7 dny

    A NAND gate should give us a dine in bit, then?

  • @Grizz-909
    @Grizz-909 Před 9 dny

    Thank you

  • @toujoursseul1415
    @toujoursseul1415 Před 9 dny

    I added dampening and it got better, also changed the first color to yellow.

  • @Stiner75
    @Stiner75 Před 9 dny

    Unfortunately, in 2024, this is where this tutorial series falls apart for me. No matter what I try, every reference to the @onready variable at the top is always null, in one way or another. Written exactly as the tutorial suggests, I get the error "Cannot call method 'get_children' on a null value." (the game crashes and points at the line with the "for" loop as the problem.) I read the code and it makes sense to me, but not to the interpreter, apparently. If anyone has any insight on how this will work on Godot 4, please enlighten me. Googling this error hasn't helped much either.

  • @Inexactbeetle
    @Inexactbeetle Před 10 dny

    You're the best thank you so much!

  • @Inexactbeetle
    @Inexactbeetle Před 10 dny

    I'm learning so much!!

  • @MohauMbongwa-uz8xo
    @MohauMbongwa-uz8xo Před 11 dny

    Bro. Just got a job at 16 cause of you. Appreciate it 🙏

  • @toujoursseul1415
    @toujoursseul1415 Před 13 dny

    hey, self studying game dev and I'm always in utmost respect for how a single wrong spelling and the code just doesn't work. I literally spent a few minutes on this line: life -= amount Signals.emit_signal("on_player_life_changed", life) just to realize my spelling of signals was wrong, I used small letter (s) instead of a Capital letter. Hopefully as I continue to learn I would get better at not making such mistakes or seeing it quickly. Thanks so much for the tutorial.

  • @Kitty_3572
    @Kitty_3572 Před 14 dny

    Love u❤❤❤❤

  • @Inexactbeetle
    @Inexactbeetle Před 15 dny

    Mine didn't light up! ): I used on old LED that seemed to be in good condition from a cheap little thing and a resistor from some scrap that also seemed in good condition but no luck.. I'll have to get a new battery maybe. I tried a AAA at first, then a AA but nada

    • @Inexactbeetle
      @Inexactbeetle Před 15 dny

      Nevermind, I just needed a bigger battery! :D got a 9v and it worked 😁🥳

  • @toujoursseul1415
    @toujoursseul1415 Před 16 dny

    you deserve a trophy for this tutorial, thanks a lot. gaining a lot of knowledge.

  • @toujoursseul1415
    @toujoursseul1415 Před 16 dny

    this is how i made the meteor dAmageable. thanks for the awesome tutorial, still learning onready var Meteor = $Meteor func _ready(): speed = rand_range( minSpeed, maxSpeed) rotationRate = rand_range(minRotationRate, maxRotationRate) if Meteor: Meteor.add_to_group("damageable") else: print("Error: Meteor node not found!")

  • @Lukas-qy2on
    @Lukas-qy2on Před 17 dny

    Do we just assume the battery has the correct amount of amps for the led? you said the 24mA was the led's requirement, but how the hell do you lower amperage? the equation only covers the resistance for the components amperage, only reducing voltage?

  • @Lukas-qy2on
    @Lukas-qy2on Před 17 dny

    I love the detour to explaing the metric system to americans

  • @mixbro69
    @mixbro69 Před 17 dny

    Hey! Just asking what to do if you have to strong resistors. So strong that mine led's wont even light up(Tried hooking up my leds with mine 9v battery. exploded right away:(

  • @kodakzak2836
    @kodakzak2836 Před 19 dny

    cool stuff. needed this for my science exam on electricity

  • @stevenicholas5651
    @stevenicholas5651 Před 19 dny

    Ssssss. Like a snake! Dam man

  • @josefserf1926
    @josefserf1926 Před 19 dny

    Electronics is a difficult subject to learn because electricity is strange, but videos like this can help.

  • @otorestorasyon
    @otorestorasyon Před 20 dny

    thank you soo much for this contents.

  • @ricodegeus1210
    @ricodegeus1210 Před 23 dny

    Learned more in this lesson about capacitors then 10 pages course material.different currents would may have been more in play.

  • @anthonyterry8162
    @anthonyterry8162 Před 23 dny

    Question on the SPDT switch, why is one called "Off" ? Shouldn't it be On\On switch? Both connections are technically on. Sorry again if its a dumb question

  • @Ostnizdasht206
    @Ostnizdasht206 Před 23 dny

    What if you have a custom animated sprite that you want to use instead for the explosion?

  • @Ostnizdasht206
    @Ostnizdasht206 Před 23 dny

    Man.. there are so many differences between Godot 3 and 4 that it's getting really hard to follow the tutorial now.. I tried changing the Node2D to just a Node and it broke everything.

  • @anthonyterry8162
    @anthonyterry8162 Před 24 dny

    Probably a really dumb question im sorry, but how would you know what side of the reisistor to start reading the bands from? i see in your first diagram you drew, you spaced out the last band far away from the others but the real picture of the resistors look to have bands close together

  • @maxamed14
    @maxamed14 Před 24 dny

    Amazing course!!! understood with few episodes things my teachers in collage spent months on without it actually getting through my head. Thank you mate for an amazing experience xD

  • @user-vx7yu7lv1r
    @user-vx7yu7lv1r Před 25 dny

    How does a SPDT switch seen

  • @RickBlythe7
    @RickBlythe7 Před 25 dny

    I studied electronics for years. I was ALWAYS taught that current flows from negative to positive. Not the other way around.

  • @Ostnizdasht206
    @Ostnizdasht206 Před 26 dny

    My ship sprite only moves one frame each time I press a key after I added dirVec into the script. I typed everything exactly like you did. P.S. Nevermind. I had it set to (is_action_JUST_pressed) instead of (is_action_pressed)

  • @shashiks4918
    @shashiks4918 Před 26 dny

    Newest comment

  • @LaibaRiaz-fj2qc
    @LaibaRiaz-fj2qc Před 27 dny

    what happened at 1:07 ? can anyone explain

  • @jacintagimenez6644
    @jacintagimenez6644 Před 27 dny

    Tafe student here!

  • @JoeBloggs-4096
    @JoeBloggs-4096 Před měsícem

    It's a pity we never made it to a touch screen version for mobile :_(

  • @EOT-ExploreOfThings
    @EOT-ExploreOfThings Před měsícem

    Informative video. Ig in the circuit design a small mistake, the resistor should be placed before LED, in order to limit the current flow.

  • @fullstackwithsantosh
    @fullstackwithsantosh Před měsícem

    I don't really understand why resistors work while being on any side of the LED. I have watched a few other youtube videos, but none of them have given me a satisfactory explanation. Can you tell why? Also, does this stays the same if we are operating on an AC circuit?

  • @WillardsChips
    @WillardsChips Před měsícem

    Great tutorials, just one question, what side do you read the color bands from???

  • @Skylightskylight-vo4mq
    @Skylightskylight-vo4mq Před měsícem

    can u explain the dip switch

  • @drravikumar2408
    @drravikumar2408 Před měsícem

    Here with my dad's account. I wanna make a digital instrument cluster for my bike. The company doesn't make stuff like that for older models. Hope I get succeed