- 112
- 1 304 869
MakerTech
Denmark
เข้าร่วมเมื่อ 27 มิ.ย. 2016
Game dev mom dreaming of one day doing game dev full-time.
Maker Tech is mainly about game dev.
I make Godot 4 tutorials and dev logs from my own game.
I've studied software technology, computer science and teaching.
And I have experience with a broad range of technologies, languages and projects.
Godot, Unity, C++, OpenGL, voxel engines, pixel art, graphics programming and shaders, algorithms and data structures, robotics, Arduino, Raspberry Pi, 3D printing and much more.
I simply just love teaching, problem solving and creating new things.
Maker Tech is mainly about game dev.
I make Godot 4 tutorials and dev logs from my own game.
I've studied software technology, computer science and teaching.
And I have experience with a broad range of technologies, languages and projects.
Godot, Unity, C++, OpenGL, voxel engines, pixel art, graphics programming and shaders, algorithms and data structures, robotics, Arduino, Raspberry Pi, 3D printing and much more.
I simply just love teaching, problem solving and creating new things.
How to Make an Enemy Follow the Player in Godot
Are you also tired of only having enemies that move between two points?
Maybe you also want enemies, that will follow the player?
Then this is the tutorial for you!
Support the channel on Patreon: patreon.com/MakerTech
Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin
Join the Discord server: discord.gg/7zKMaZDycE
All ARPG related videos: th-cam.com/play/PLMQtM2GgbPEWKQuyv9sXHwGWDXLY3Zjpw.html
00:00 intro
01:04 template
04:46 detect
06:36 follow
07:54 stop 1
09:54 stop 2
11:10 stop 3
12:51 returning
15:05 refactoring
17:39 bug fix
19:04 collision problems
19:47 fix 1
20:35 fix 2
22:23 fix 3
---------------------------------------------------------------------------------------------------------------------------
Download Godot: godotengine.org
"Ninja Adventure" asset pack: pixel-boy.itch.io/ninja-adventure-asset-pack
My additional assets pack on itch.io: makertech.itch.io/additional-art-for-godot-4-tutorial
VisibleOnScreenNotifier2D node: docs.godotengine.org/en/stable/classes/class_visibleonscreennotifier2d.html
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Reddit: www.reddit.com/user/MakerTech
Instagram: makertech_dk
Bluesky: bsky.app/profile/makertech.bsky.social
TH-cam channel: th-cam.com/users/makertech
---------------------------------------------------------------------------------------------------------------------------
#gamedev #godot #godotengine #godot4 #tutorial #zeldalike #learntocode #howtomakeagame #components
Maybe you also want enemies, that will follow the player?
Then this is the tutorial for you!
Support the channel on Patreon: patreon.com/MakerTech
Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin
Join the Discord server: discord.gg/7zKMaZDycE
All ARPG related videos: th-cam.com/play/PLMQtM2GgbPEWKQuyv9sXHwGWDXLY3Zjpw.html
00:00 intro
01:04 template
04:46 detect
06:36 follow
07:54 stop 1
09:54 stop 2
11:10 stop 3
12:51 returning
15:05 refactoring
17:39 bug fix
19:04 collision problems
19:47 fix 1
20:35 fix 2
22:23 fix 3
---------------------------------------------------------------------------------------------------------------------------
Download Godot: godotengine.org
"Ninja Adventure" asset pack: pixel-boy.itch.io/ninja-adventure-asset-pack
My additional assets pack on itch.io: makertech.itch.io/additional-art-for-godot-4-tutorial
VisibleOnScreenNotifier2D node: docs.godotengine.org/en/stable/classes/class_visibleonscreennotifier2d.html
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Reddit: www.reddit.com/user/MakerTech
Instagram: makertech_dk
Bluesky: bsky.app/profile/makertech.bsky.social
TH-cam channel: th-cam.com/users/makertech
---------------------------------------------------------------------------------------------------------------------------
#gamedev #godot #godotengine #godot4 #tutorial #zeldalike #learntocode #howtomakeagame #components
มุมมอง: 1 766
วีดีโอ
Learn to Program #2: Introduction to Debugging
มุมมอง 30428 วันที่ผ่านมา
So you want to know how to program, but maybe you are having trouble figuring out how to start. Well then you have come to the right place. In this series I will teach you the fundamentals of programming. Support the channel on Patreon: patreon.com/MakerTech Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin Join the Discord server: discord.gg/7zKM...
Heart Fractions in Godot | ARPG S02E07 | Godot 4 | tutorial | GDScript
มุมมอง 703หลายเดือนก่อน
This tutorial is an extension of my tutorials on player health. In this episode we will look at how we can not only use full and empty hearts to show the players health. But also use heart fractions for the health. Support the channel on Patreon: patreon.com/MakerTech Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin Join the Discord server: disco...
Combining States and Components in Godot | Zelda-like dev log | Hekla the Witch
มุมมอง 2Kหลายเดือนก่อน
Inspired by one of my last tutorials on how to handle communication between components in Godot, I started to wonder how I wanted this to work for Hekla the Witch. And how I would go about combining components with a state system. This is what this dev log is about. Hekla the Witch dev logs: th-cam.com/play/PLMQtM2GgbPEVbnUkinTvbECXu6qT2lHLn.html&si=2EPmRFwkYEE0tLqE Support the channel on Patre...
Learn to Program #1: Introduction
มุมมอง 9112 หลายเดือนก่อน
So you want to know how to program, but maybe you are having trouble figuring out how to start. Well then you have come to the right place. In this series I will teach you the fundamentals of programming. Support the channel on Patreon: patreon.com/MakerTech Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin Join the Discord server: discord.gg/7zKM...
Communication Between Components in Godot
มุมมอง 2.5K3 หลายเดือนก่อน
In this video I will show you three ways we can connect components in Godot. Which one do you prefer? Support the channel on Patreon: patreon.com/MakerTech Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin Join the Discord server: discord.gg/7zKMaZDycE Reusable COMPONENTS in Godot: th-cam.com/video/io9fJxlpS84/w-d-xo.htmlsi=EyncFWpEvLimFdQG 00:00 ...
Equip Weapon from Hotbar | ARPG S02E06 | Godot 4 | tutorial | GDScript
มุมมอง 2.7K3 หลายเดือนก่อน
This tutorial is an extension of my tutorials in creating a hotbar and using items from it. In this episode we will look at how we can use a weapon from the hotbar. And also make it so is doens't disappear when it is used. Support the channel on Patreon: patreon.com/MakerTech Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin Join the Discord serve...
Reusable COMPONENTS in Godot | ARPG S02E05
มุมมอง 2.9K4 หลายเดือนก่อน
This tutorial is an introduction to creating components in Godot. In this video I will give a short introduction to what a component is. And then we will start changing the code for the enemy in a previous tutorial into components. Support the channel on Patreon: patreon.com/MakerTech Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin Join the Disc...
How to Only Use Health Potions When Needed | ARPG S02E04 | Godot 4 | tutorial | GDScript
มุมมอง 1.5K4 หลายเดือนก่อน
In this video I will show you how to only use and consume health potions, when the players health isn't full. This is an extension to the tutorial on How to Select and Use Items: th-cam.com/video/HzkRw1Sc1Dg/w-d-xo.html Support the channel on Patreon: patreon.com/MakerTech Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin Join the Discord server: ...
How to Make a DAY AND NIGHT CYCLE in Godot
มุมมอง 2.9K4 หลายเดือนก่อน
This video is the last in my Time System mini-series. In this episode, we will use our time system to create a day and night cycle. Support the channel on Patreon: patreon.com/MakerTech Support the channel with a TH-cam membership: th-cam.com/channels/ZfXxUfpS7q-v1gsMY-hQtA.htmljoin Join the Discord server: discord.gg/7zKMaZDycE How to Make a Time System in Godot: th-cam.com/play/PLMQtM2GgbPEUs...
Making a Zelda-like with my 5yo: COMBAT and HEALTH
มุมมอง 2.1K5 หลายเดือนก่อน
I've been in a creative drought with my other game project for a while. So now I decided to start on a new zelda-like project instead of starring into the screen without getting anything done. I'm making this project together with my 5yo daughter. I hope you will follow along on our quest to complete the game. Hekla the Witch dev logs: th-cam.com/play/PLMQtM2GgbPEVbnUkinTvbECXu6qT2lHLn.html&si=...
IN-GAME TIME in Godot (4.3) #4: Pause or change speed
มุมมอง 2.1K5 หลายเดือนก่อน
IN-GAME TIME in Godot (4.3) #4: Pause or change speed
I'm making a Zelda-like with my 5yo daughter | Godot dev log
มุมมอง 4.9K5 หลายเดือนก่อน
I'm making a Zelda-like with my 5yo daughter | Godot dev log
IN-GAME TIME in GODOT (4.3) #1: Introduction
มุมมอง 3.4K6 หลายเดือนก่อน
IN-GAME TIME in GODOT (4.3) #1: Introduction
Branching DIALOG SYSTEM for my GODOT RPG | dev log
มุมมอง 6K8 หลายเดือนก่อน
Branching DIALOG SYSTEM for my GODOT RPG | dev log
How to USE ITEMS from HOTBAR in GODOT | ARPG S02E03 | tutorial | GDScript
มุมมอง 5K9 หลายเดือนก่อน
How to USE ITEMS from HOTBAR in GODOT | ARPG S02E03 | tutorial | GDScript
How to CHANGE SCENES in Godot | ARPG S02E02 | tutorial | GDScript
มุมมอง 25K9 หลายเดือนก่อน
How to CHANGE SCENES in Godot | ARPG S02E02 | tutorial | GDScript
How to Make a HOTBAR in GODOT | ARPG S02E01 | tutorial | GDScript
มุมมอง 9K10 หลายเดือนก่อน
How to Make a HOTBAR in GODOT | ARPG S02E01 | tutorial | GDScript
Zelda-like CAMERA in GODOT | room transition | fixed position | tutorial | gdscript
มุมมอง 5K11 หลายเดือนก่อน
Zelda-like CAMERA in GODOT | room transition | fixed position | tutorial | gdscript
How to Make an Inventory in Godot 4: Right-Click to reset item | ARPG in Godot 4 #28 | tutorial
มุมมอง 11Kปีที่แล้ว
How to Make an Inventory in Godot 4: Right-Click to reset item | ARPG in Godot 4 #28 | tutorial
How to Make an Inventory in Godot 4: Swap, Combine and Stack items | ARPG in Godot 4 #27 | tutorial
มุมมอง 7Kปีที่แล้ว
How to Make an Inventory in Godot 4: Swap, Combine and Stack items | ARPG in Godot 4 #27 | tutorial
How to Click and Move Inventory Items in Godot 4 #2 | ARPG in Godot 4 #26 | tutorial | zeldalike
มุมมอง 7Kปีที่แล้ว
How to Click and Move Inventory Items in Godot 4 #2 | ARPG in Godot 4 #26 | tutorial | zeldalike
Breakout in Godot 4.2 (GDScript) #2: Paddle movement | tutorial | Code Along | how to
มุมมอง 1.8Kปีที่แล้ว
Breakout in Godot 4.2 (GDScript) #2: Paddle movement | tutorial | Code Along | how to
Breakout in Godot 4.2 (C#) #2: Paddle movement | tutorial | Code Along | how to
มุมมอง 770ปีที่แล้ว
Breakout in Godot 4.2 (C#) #2: Paddle movement | tutorial | Code Along | how to
How to Click and Move Inventory Items in Godot 4.1 #1: Refactoring | ARPG in Godot 4 | zeldalike
มุมมอง 11Kปีที่แล้ว
How to Click and Move Inventory Items in Godot 4.1 #1: Refactoring | ARPG in Godot 4 | zeldalike
Breakout in Godot 4.2, #1 introduction (C# and GDScript) | tutorial | code along | how to
มุมมอง 2.4Kปีที่แล้ว
Breakout in Godot 4.2, #1 introduction (C# and GDScript) | tutorial | code along | how to
Great video! ❤God bless y'all owo
Great video! God bless y'all❤ owo
I followed along, and it updates when i get hurt, but it doesn’t reset to max hearts when I die and respawn. Any tips?
Дуже круте відео Дякую
Hello awesome vid! Can this tutorial be used for also a heart meter in a dating sim game? I can't seem to find a tutorial anywhere for it. :(
Probably. It should work for any kind of integer data. But my best advice is just to try it out, see how it fits and then evaluate what works and what you might want to change :)
I'm doing exactly the same thing, but it still doesn't show the item in debugging. Can you help me in any way, please tell me what the problem might be. Thank you in advance! Your lessons are very helpful to me!
You don't understand how badly i needed this, thank you so much.
That is so great! I’m glad you found it helpful :)
Im pretty sure u can do the same with out the texture in godot i always make my buttons without textures
Well you can if you want to use the built in button styles to create a flat and then slap a label over it for whatever text you need.
This is a neat!
Need some help can anybody tell me how to fix this error please. Thank you. load: res://inventory/items/sword.tres:4 - ext_resource, invalid UID: uid://dnn47dkme0wg3 - using text path instead: res://art/sword.png <C++ Source> scene/resources/resource_format_text.cpp:453 @ load()
Adorable!!!
Thanks :)
Hey, Great video! I'm stuck on 8:27 with setting a name for my scene trigger name thing, I have mine as @export var connected_scene: String #ShopRoom ShopRoom is the name of the file with my Room but im not sure if I need a hashtag or type 'string'. is string the name, what name did you use?
Hi MakerTech, I love your videos. Are you ever going to make the death scene for the player when it’s health is lost with a respawn. I have to say that you are the best RPG dev in youtube with great tutorials.
I'm actually brainstorming ideas for the next few videos right now. I'll put in on the list as we speak and then we'll see what happens :)
thanks
Будьласочка модете допомогти мені розібрати пачку "collectables" я не розумію кули і шо ви додавали туди, будьласка зробіть окреме відео, я аж плакати хочу, у мене не виходить
Я вас прошу, допоможіть Мені
БЛІНННН, я не знаю як ти зробила скрипти для lifeplot та sword і особливо для collectable, я не знаю як створювати спрайти які з'являються на карті та зникають коли персонаж до них підходить і особливо щоб вони поміщались в інвентар, Можеш Будь Ласка створити на цю тему Відео?!?!🙏🙏🙏🙏
I am a couple weeks late, sorry. This was really good information. I also agree that it needs to be one of the early videos, as it provides critical tools to learn. Thank you so much for your hard work and for taking the time to help us with the basics such as this. I can imagine it would be boring to cover and maybe even feel a bit pointless for someone with experience already. Keep up the great work. I will give the workspace a try and practice a bit more.
This for your comment, it really means a lot! Also, this isn't boring for me to cover at all. One of my dream jobs used to be teaching Introduction to Programming at uni :)
Thank you for your tutorials there great. I'm starting your rpg series but I would like my player to move like zelda in a 4 directional movement not 8 way movement. How would I implement that to my player. If you ever get a chance to do a tutorial on that would be great and apricated. No one else in TH-cam have 4 directional movement video.
If I don't already have it on my (long) list of ideas, then I'll put it on. I actually have 4 directional movement in both of the projects I'm working on myself.
Calling get_parent() on a node inverts the parent->child hierarchy, making the child responsible for knowing what type of node the parent is. Instead it is recommended to use signals.
Solution 4: Expose and use component methods from root node avoiding implicit behavior. Pros: more control, easy to make/debug, reusable. Cons: a bit of code in the root node is needed to glue them together.
Thanks for the input :)
autotile of different tiles, please
For anyone struggling with the ``invalid get index "player"`` error, I found a fix that worked for me using player = from.get_node("Player") instead of player = from.player
Actually I think this error comes from the script on the World node not extending the BaseScene (18:11)
Note: This will most likely only work if your tile sprites are 16x16, and will not work if the upper left corner of your tilemap is not the origin. That is because rendering_quadrant_size isn't the tile size. To get the tile size as a vector from upper left corner to lower right corner, use tile_map.tile_set.tile_size Then access its x and y attributes to get the x and y dimensions. If your tilemap doesn't begin at the origin, use tile_map.position.x and y for the upper left corner and tile_map.end.x and y for the lower right corner. Eg.: limit_left = mapRect.position.x * tileSize.x limit_top = mapRect.position.y * tileSize.y limit_right = mapRect.end.x * tileSize.x limit_bottom = mapRect.end.y * tileSize.y
Create 3d game...2025now
so what ? 2d games can be fun too
What kind of 3D game/festures would you like to see tutorial on? I can’t promise anything, but I’m always open to suggestions 😎
I have a similar game, but in 3D. For transitions between states, I started using a Finite State Machine (FSM). I encountered a problem with the async function await because it cannot be intercepted and its execution cannot be terminated. Therefore, I always use a timer. I also added the logic for "search" in this order: the enemy sees the player > the enemy chases the player > the enemy loses the player > the enemy searches around the area where the player was lost > the enemy returns home. And of course, thank you for another great tutorial.
lol i got it here pls give heart to me
The mosy important
I just started using Godot and making games and sincerely this is one of the best series of tutorial on TH-cam
Thanks, I'm glad you like the series :)
I'm still in Camera following the player episode but someday I'll get in here
blablablablabla...
Hello. So far this video has gone super smoothly. But when did we change the use_item function in the player. I have no clue when we did that and also if where the remove_last_item_used is.
Tihis tutorial is so amazing! Thank you so much for putting so much effort into making it understandable and even reflect on the things you may have included in the last video. Keep doing what your doing, you are such an awesome teacher! :3
Glad it was helpful!
11:04 If anyone else missed something like I did and is getting an error for the "Player". Its because the "Player" is a class name and should be named in the Player nod, like that: class_name Player extends CharacterBody2D
Fantastic tutorial, straight to the point.
I'm glad you liked it :)
Hello there! could you please make a video on how to save and load your inventory? Thank you very much for such helpful videos!
If you draw an inverted trapezoid style shape on the physics layer polygon for the trees, you can create a collision box that will nudge the player in front of the tree if they're walking directly left or right. This can ease some frustration for a player who is moving across a tree, but they're just a few pixels too high. Instead of bumping right into the object (rectangle collision), they can continue moving without interruption.
Sorry for the late reply. But I'm really glad you shared the tip.
Thank you for another very helpful video, your videos are so easy going and relaxed, you obviously make videos intended to teach rather than demonstrate how clever you are unlike some other creators, look forward to more.
Super video 😊. Hmm kommer vi ind på test ? Unittest og CI ?
Ikke lige som det første. Det er en lille "Lær af programmere" serie målrettet absolutte begyndere. Men hele ideen er først at lave denne her serie, og så tage fat i andre lidt dybere emner senere :)
@@MakerTech cool 😊 det glæder jeg mig til. Ses på discord
Excellent video as always. Thank you very much.
Thank you for the feedback. I'm glad you liked the video :)
Great tutorial, thank you!
Your welcome :)
Thank you very much. Excelent video as usual.
Commenting for the algorithm, great video although damn if it doesn't seem impossible at first blush.
Hah, I'm glad you got it to work (I'm assuming? ;) )
Thank you so much for your videos! You explain everything really well, and it's easy to follow.
Thanks you so much for the feedback :)
how about collision?
There is another episode that show collision with tile maps (or tilemap layers): th-cam.com/video/C0N8VgPYK8I/w-d-xo.html And there is also a short to accompany it: th-cam.com/users/shorts0qB89qPp3Y4
Your final solution is generally the solution I use (although I just use methods, not signals). Call down, Signal up is great. I also call the states "physics update" inside the players physics process, so those aren't always active. Then, if some state needs access to a specific component, I connect it via @export variables.
Thank you for sharing how you do this :)
I've been watching the inventory chain and I've done everything but it shows me item is null in func update What do I do l use godot 4.3
Very nice tutorial, thank you so much!
I'm glad you liked it :)
Great tutorials you're making. Any chance you could show how you'd create turn based combat systems and battle scenes like those in Pokemon?
Hi and thanks for your comment. I don't think turn based combat is going to be in the near future. I think my main 'problem' is that I never really enjoyed Pokemon-like combat systems myself. So I don't have much experience with it first hand and would need to do a bit of research first. To see if I could find an angle that I would find interesting and motivation. But I'm also not saying I would never do it :)