Michael Games
Michael Games
  • 73
  • 341 072
Equipment System Part 2 - Inventory UI Updates // E60 // Make a 2D Action & Adventure RPG in Godot 4
In this tutorial we will update our inventory UI to support our equipment system, and begin updating and adjusting the game's scripts.
Topics Covered: inventory, equipment, resources, array slicing, slice
New Assets Needed:
- player_equipment.zip
Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets
--------------------
Chapters
--------------------
00:00 Intro
00:37 Overview
02:04 Increase size of inventory to 20 items
03:34 Position item description
03:51 Update stats UI
14:50 Unique names for labels & fix code references
16:38 Add attack & defense change labels
18:45 Update inventory_data.gd script
22:33 inventory_slots() function
25:07 equipment_slots() function
25:55 Add default items to player equipment slots
27:28 Fix tunic armor item resource issue
29:59 Update update_inventory() function in inventory_ui.gd script
31:39 Update add_item() function in inventory_data.gd
32:49 Create equipment slot UI
38:30 More changes to update_inventory() function in inventory_ui.gd script
43:40 Update set_slot_data() function in inventory_slot_ui.gd script
44:57 Handle equipment slots in inventory_ui.gd script
47:04 Remove "quantity" labels from equipable items
49:13 Outro
49:55 Thank you Patreon supporters!!!
--------------------
Series Playlist: ua-cam.com/play/PLfcCiyd_V9GH8M9xd_QKlyU8jryGcy3Xa.html
GitHub Repo: github.com/michaelmalaska/aarpg-tutorial
AARPG Trello Board: trello.com/b/9PlGOAZv/aarpg-tutorial-series-video-status-board
Join our discord community!
Discord: discord.gg/rkzBfHaudc
Become a Patreon member to get exclusive access to Michael, and more:
patreon.com/user?u=26305011&Link
Переглядів: 585

Відео

Equipment System Part 1 - Equipment Resources // E59 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 8247 годин тому
In this tutorial we will take the first step in building an equipment system by creating new "equipable" item resource types that will work with our existing inventory system! Topics Covered: inventory, equipment, resources, enum New Assets Needed: - player_equipment.zip Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets Chapters 00:00 Intro 00:22 Equipment Series Overview...
Load CSV Files /// Game Programming Tips in Godot 4
Переглядів 36216 годин тому
In this tutorial we will learn the basics of loading CSV files into our Godot 4 projects! Topics Covered: CSV import, file access in Godot 4 Join our discord community! Discord: discord.gg/rkzBfHaudc Become a Patreon member to get exclusive access to Michael, and more: patreon.com/user?u=26305011&Link Chapters 00:00 Intro 00:12 Overview 02:08 Quick review of code not covered in demo 02:32 CSV f...
Damage Number Effect // E58 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,4 тис.14 днів тому
In this tutorial we will add an easy-to-use damage effect and global effect manager script, and use it to display damage numbers on our enemies! Topics Covered: autoload, global, damage, damage effect, tween, tween.set_parallel, tween .chain, easing New Assets Needed: - N/A Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets GitHub Repo: github.com/michaelmalaska/aarpg-tuto...
Command Pattern /// Game Programming Patterns in Godot 4
Переглядів 81414 днів тому
In this tutorial discuss the command pattern, it's basic uses, and implement a simple example in Godot using nodes and GD Script! Topics Covered: programming patterns, command pattern, recursion, command, undo Become a Patreon member to get exclusive access to Michael, and more: patreon.com/user?u=26305011&Link Join our discord community! Discord: discord.gg/rkzBfHaudc Chapters 00:00 Intro 00:2...
Level Up Polish // E57 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,1 тис.14 днів тому
In this tutorial we will fix some issues with the level up system, implement a recursive function, and add a level-up effect when the hero gains a level! Topics Covered: xp, recursive function, level up, GPUParticales2D New Assets Needed: - level_up_jingle.wav Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets GitHub Repo: github.com/michaelmalaska/aarpg-tutorial AARPG Tre...
Basic Player Stats & Leveling // E56 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,5 тис.21 день тому
In this tutorial we add xp tracking & simple leveling to our player, as well as basic stats for attack and defense! Topics Covered: xp, experience, level, stats, attack, defense, signals, setter function, set New Assets Needed: - N/A Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets GitHub Repo: github.com/michaelmalaska/aarpg-tutorial AARPG Trello Board: trello.com/b/9Pl...
Michael Games 2024 Recap & 2025 Plans!
Переглядів 789Місяць тому
Hi everyone! 2024 has been an amazing year for me, and I am excited to talk about it and share some thoughts, as well as plans for 2025 as I look to the future! Become a Patreon member to get exclusive access to Michael, and more: patreon.com/user?u=26305011&Link Join our discord community! Discord: discord.gg/rkzBfHaudc AARPG Links: Itch IO project/asset download page: michaelgames.itch.io/2d-...
Quest System Part 6 - Make a Quest! // E55 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 2 тис.Місяць тому
In this tutorial we are going to put all the pieces together, and make some other changes and updates, and build a complete quest. Topics Covered: Quest System, Quest Manager, Signals, Troubleshooting, Bug Fixing, breakpoints in godot New Assets Needed: - quests.zip Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets GitHub Repo: github.com/michaelmalaska/aarpg-tutorial Bec...
Quest System Part 5 - Notification GUI // E54 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,1 тис.Місяць тому
In this tutorial we will add a notification UI, and use it to display quest updates and progress to the player. Topics Covered: Quest System, Quest Manager, Signals, Notification, qeueus, pop_front() New Assets Needed: - quests.zip Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets GitHub Repo: github.com/michaelmalaska/aarpg-tutorial Become a Patreon member to get exclusi...
Quest System Part 4 - Quest Activated Switch // E53 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,1 тис.Місяць тому
In this tutorial we will add a "Quest Activated Switch" node to our project that will help us to build and design scenarios in our game that will react and respond to quests and quests status. Topics Covered: Quest System, Quest Manager, Signals New Assets Needed: - quests.zip Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets GitHub Repo: github.com/michaelmalaska/aarpg-t...
Quest System Part 3 - Quest Advance Trigger // E52 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,1 тис.Місяць тому
In this tutorial we will add a "Quest Advance Trigger" node to our project that will allow us to build and design scenarios in our game that will start and advance quests. Topics Covered: Quest System, Quest Manager, Signals New Assets Needed: - quests.zip Asset Download Page: michaelgames.itch.io/2d-action-adventure-rpg-assets GitHub Repo: github.com/michaelmalaska/aarpg-tutorial Become a Patr...
Quest System Part 2 - Quest UI // E51 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 811Місяць тому
In this tutorial we’re going to update our game’s pause menu with a tab container node, and connect it to our quest system. Topics Covered: Quest System, Quest Manager, TabContainer control, wrapi(), MarginContainer, VBoxContainer, Label text cliping, text overrun, sort, sort_custom New Assets Needed: - quests.zip (checkbox.png) Font assets can be found in: - npc_and_dialog.zip Asset Download P...
Quest System Part 1 - Quest Manager // E50 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,2 тис.2 місяці тому
Quest System Part 1 - Quest Manager // E50 // Make a 2D Action & Adventure RPG in Godot 4
NPC Wander Bug Fix & Quest System Sneak Peek // E49 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 7232 місяці тому
NPC Wander Bug Fix & Quest System Sneak Peek // E49 // Make a 2D Action & Adventure RPG in Godot 4
Update TileMap nodes to TileMapLayer nodes // E48 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 9112 місяці тому
Update TileMap nodes to TileMapLayer nodes // E48 // Make a 2D Action & Adventure RPG in Godot 4
47.5 Enemy Pathfinding Defect Correction // E47 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 4222 місяці тому
47.5 Enemy Pathfinding Defect Correction // E47 // Make a 2D Action & Adventure RPG in Godot 4
Advanced Enemy Movement & Pathfinding // E47 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 2 тис.2 місяці тому
Advanced Enemy Movement & Pathfinding // E47 // Make a 2D Action & Adventure RPG in Godot 4
Boss HP GUI // E46 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1 тис.2 місяці тому
Boss HP GUI // E46 // Make a 2D Action & Adventure RPG in Godot 4
Boss Battle // E45 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 2,3 тис.2 місяці тому
Boss Battle // E45 // Make a 2D Action & Adventure RPG in Godot 4
Boss Energy Beam Attack // E44 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,4 тис.3 місяці тому
Boss Energy Beam Attack // E44 // Make a 2D Action & Adventure RPG in Godot 4
Boss Energy Orb Attack // E43 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,1 тис.3 місяці тому
Boss Energy Orb Attack // E43 // Make a 2D Action & Adventure RPG in Godot 4
Critical Dialog System Bug Fixes! // E36.5 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1 тис.3 місяці тому
Critical Dialog System Bug Fixes! // E36.5 // Make a 2D Action & Adventure RPG in Godot 4
Lighting & Torches // E42 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,7 тис.3 місяці тому
Lighting & Torches // E42 // Make a 2D Action & Adventure RPG in Godot 4
Camera Shake // E41 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,5 тис.3 місяці тому
Camera Shake // E41 // Make a 2D Action & Adventure RPG in Godot 4
Game Over // E40 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,7 тис.4 місяці тому
Game Over // E40 // Make a 2D Action & Adventure RPG in Godot 4
Throwable Objects Part II // E39.2 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,4 тис.4 місяці тому
Throwable Objects Part II // E39.2 // Make a 2D Action & Adventure RPG in Godot 4
Throwable Objects Part I // E39.1 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 1,6 тис.4 місяці тому
Throwable Objects Part I // E39.1 // Make a 2D Action & Adventure RPG in Godot 4
Charge & Spin Attack // E38 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 2,2 тис.4 місяці тому
Charge & Spin Attack // E38 // Make a 2D Action & Adventure RPG in Godot 4
Splash & Title Screen // E37 // Make a 2D Action & Adventure RPG in Godot 4
Переглядів 2,5 тис.4 місяці тому
Splash & Title Screen // E37 // Make a 2D Action & Adventure RPG in Godot 4

КОМЕНТАРІ

  • @whiletrue1-wb6xf
    @whiletrue1-wb6xf Годину тому

    You need to fix the tutorial to use TileLayer

  • @SOHEILENA
    @SOHEILENA 2 години тому

    Can you or someone please add the scripts as a file too? I dont wanna copy and paste the scripts

  • @CodingKidz-s9c
    @CodingKidz-s9c 4 години тому

    This is the BEST tutorial EVER!! No other tutorial vid can beat this.

  • @Elrinth
    @Elrinth 5 годин тому

    I have recently worked on an inventory for my game... I made every item as a button and put them inside a scrollablecontainer with a vboxcontainer and hboxcontainer so it scrolls horizontally. It works on telephones in web browser now. on opening inventory i use grab_focus on first item... if all items are in equpimentslots, i give grab_focus on first item in equipment slot. but this was a very good tutorial!

  • @iggymoeplays7015
    @iggymoeplays7015 12 годин тому

    Super simple. Thanks for this!

  • @PhamDuyThanh-zf7xc
    @PhamDuyThanh-zf7xc 13 годин тому

    This is the most in-depth tutorial I've ever seen. it's great

  • @kalislahren
    @kalislahren 14 годин тому

    Woohoo! 2nd video done. Thanks again for the tutorials!

  • @ericwood1185
    @ericwood1185 15 годин тому

    Super cool! but did i miss something cause after i did this the gear an items dont save an load or did we not save those yet or i messed something up lol

    • @MichaelGamesOfficial
      @MichaelGamesOfficial 42 хвилини тому

      There should be no need to update the save/load scripts. Have you made your own adjustments to those outside of the implementation in the series?

  • @kalislahren
    @kalislahren 16 годин тому

    Just starting my journey to make my first game. Thanks for the tutorial. On to the next video!

  • @JettParsons-ml4lg
    @JettParsons-ml4lg 17 годин тому

    how did you type the arrow ? when u did --> bool mine dont work or change like yours code is red

    • @MichaelGamesOfficial
      @MichaelGamesOfficial 40 хвилин тому

      I have a setting for "code ligatures" turned on in this video (and other early videos in the series). You can turn that on, or just ignore the appearance difference. The "arrow" I am typing is just "->" so a single dash followed by a right caret.

  • @blattymeow
    @blattymeow 17 годин тому

    Congratulations on your puppies! Wonderful start for an Audio Manager. It just works. The fact that each tutorial is showing how to make robust systems capable of handling extensions is just exactly what I have been looking for in a tutorial. I need repeatable components that are always going to be the same or can easily be modified to fit the game's needs. I would love to see more with audio effects for sure. Thank you again!

  • @Lordecai
    @Lordecai 17 годин тому

    Thanks for the tutorial man! This has been the best series I've watched so far hands down!

  • @ThatFroggyGuy1
    @ThatFroggyGuy1 20 годин тому

    heck yeah homie this is awesome!

  • @ultincheam-rk3py
    @ultincheam-rk3py 21 годину тому

    don't know what the sprite's facing direction doesn't update properly sometimes

  • @dsflyyamada2991
    @dsflyyamada2991 22 години тому

    Yeees siiir 😁

  • @thiccbeetboi
    @thiccbeetboi День тому

    Im only on episode 9 but thank you for making this content it is very helpful to quickly learn the engine

  • @simspam87
    @simspam87 День тому

    Thank you for this 65th episode in this awesome & huge tutorial series.

  • @MohammedEssamSaleh
    @MohammedEssamSaleh День тому

    Gooood👍

  • @igalram1438
    @igalram1438 День тому

    Hi, thanks for the tutorial! Is there anywhere I can see the complete scripts of the FSM that you demonstrate building here (at this stage)?

    • @MichaelGamesOfficial
      @MichaelGamesOfficial 36 хвилин тому

      I have a GitHub repository specifically for this project, but I only started uploading/sharing this public repo somewhere around ep. 14 or 15... I don't recall exactly. Regardless, the FSM has undergone very minimal changes since the initial implementation. GitHub repo: github.com/michaelmalaska/aarpg-tutorial

  • @NoobMaster-we6ll
    @NoobMaster-we6ll День тому

    Keep up the good work ❤

  • @Roberto_Liao
    @Roberto_Liao День тому

    First comment? and nice video

  • @Overwatch04
    @Overwatch04 День тому

    Great video as always! I love the custom signals aspect, much easier and cleaner then the standard signals that are provided!

  • @Burindoru
    @Burindoru День тому

    Loving these so much! Thank you, looking forward to the full series. [sidenote: as someone with adhd+autism the bleeping/blooping bg music is making it hard to keep track / listen to your words often / for long periods]

    • @MichaelGamesOfficial
      @MichaelGamesOfficial 34 хвилини тому

      Sorry about the Audio - sadly it took me a while to come to the realization that it was bad. I have switched to no background audio with exceptions for the intro and outro portions of the video - so if you can stick through it, your ears and brain will hopefully get some relief :)

  • @Lordecai
    @Lordecai День тому

    I am so overjoyed that everything started working for me at 25:35. Great series so far!

  • @АлександрЗаец-о7е

    as a dude, who have 10 years of experience in enterprise software development and tries to pick up gamdev for fun, I approve your style of tutoring.

  • @Rinn_t
    @Rinn_t День тому

    great series, last episode is where things started to click and i could add some of my own functionallity to the project never coded before so, thanks so much and im excited to learn more. the game i wanted to make was more akin to a pixelart sidescroller but this series is still great for learning whats going on how and where :D edit: i wrote a dialog system all by myself that i can be proud of, going to mess around a bit more and then check how you did it :DDD

  • @pUpzorz
    @pUpzorz 2 дні тому

    Randomly got this suggested today as I'm learning Godot. 1 minute in I was hooked and needed to subscribe. Can't wait for more videos!

  • @illuminate1306
    @illuminate1306 3 дні тому

    does someone have a problem with the animation? it glitches and does not complete its cycle

  • @nicholaswyatt4079
    @nicholaswyatt4079 3 дні тому

    This is the best series for learning godot on youtube... I've finally stopped hitting a wall everytime I boot up godot. So thank you!

  • @Overwatch04
    @Overwatch04 3 дні тому

    I'm getting more excited for the final product here!

  • @wibuslayer183
    @wibuslayer183 3 дні тому

    Your video so awesome

  • @MohammedEssamSaleh
    @MohammedEssamSaleh 3 дні тому

    Good 👍

  • @wibuslayer183
    @wibuslayer183 3 дні тому

    Thanks for the video sir

  • @blrwllm4357
    @blrwllm4357 3 дні тому

    man you are doing gods work with these tutorials.

  • @dsflyyamada2991
    @dsflyyamada2991 3 дні тому

    Let' s goo

  • @bradnowel
    @bradnowel 3 дні тому

    Cool ! Easier in small videos !

  • @ericwood1185
    @ericwood1185 3 дні тому

    YES!!! Something to do today! Been waiting anxiously so excited!

  • @Juvix._.
    @Juvix._. 3 дні тому

    so thankful that you are still makin this series its really helpin me with Godot, keep up ^^

  • @Roberto_Liao
    @Roberto_Liao 3 дні тому

    thumbnail goat! XD

  • @simspam87
    @simspam87 3 дні тому

    Lol that thumbnail is absolutely stunning 😂 ! Thanks for sharing this new video.

    • @MichaelGamesOfficial
      @MichaelGamesOfficial 3 дні тому

      I think I have a backup career in “thumbnail faces”… that’s a real thing right?

    • @simspam87
      @simspam87 3 дні тому

      @@MichaelGamesOfficial Haha, you might be onto something! 'Thumbnail faces' could definitely be a niche market. You've got the talent for it. 😂

  • @christopherxavier655
    @christopherxavier655 3 дні тому

    Not sure if this was already mentioned, but instead of using Input.get_axis for direction, you can use: direction = Input.get_vector("left", "right", "up", "down").normalized()

  • @jaylanderfpv6603
    @jaylanderfpv6603 4 дні тому

    top marks, you make complex shit easy to understand

  • @vincelapalta5936
    @vincelapalta5936 4 дні тому

    Thank you for your detailing (instead of the 1 minute you can do this... Videos). Here's passion!

  • @Lordecai
    @Lordecai 4 дні тому

    Had an issue with it still not changing directions or playing different animations even after going through the code. I noticed I forgot to remove the line 15 at 10:41 Thanks for the tutorial so far!!

  • @shawndeprey
    @shawndeprey 4 дні тому

    For handling the interactions, I would suggest using a function on the player manager, and additionally adding a signal for that event as well. Honestly, probably all interactions should go through this pipeline. I could see this being very useful if you have say a puzzle with many interactable elements beside each-other which need to react to each-other. signal handled_interaction ... func handle_interaction() -> void: interact_handled = true handled_interaction.emit()

  • @Overwatch04
    @Overwatch04 4 дні тому

    Thing like this are what I like. Pointing out issues and fixes.

  • @adrielbradley6677
    @adrielbradley6677 4 дні тому

    If I get too close to the slime when I attack, it flies toward the player instead of away. I guess because the center of the hurtbox goes past the slime. Was that a mistake I made along the way?

    • @MichaelGamesOfficial
      @MichaelGamesOfficial 3 дні тому

      Shoot! I’ll check mine. It is possibly a defect in how i set it up? I’m away from my project to check, though I will. There are a few ways to fix this, but you can make sure the origin of your hit and hurt boxes are zeroed on the player/enemy. Alternatively, the code could be updated to use the players position instead of the hit boxes position… hope that helps, I’ll possibly make a video addressing this as well.

    • @adrielbradley6677
      @adrielbradley6677 3 дні тому

      @@MichaelGamesOfficial Playing around in the game I'm pretty sure now the error is with me because it's too obvious, and it's only when attacking up, and when attack to the side it will fly diagonally away instead of straight, but down seems to be normal. Sorry, how do I check the origin of the hit/hurt boxes? Is it the marked point in the center of the collisionShape2D?

    • @adrielbradley6677
      @adrielbradley6677 2 дні тому

      @ Okay, so the issue was the HitBox origin was the center of it's collision shape, which sometimes would pass the center of the slime. The way I fixed it was, in the attack animations, instead of moving the positions of the HitBox for each direction, I moved just the collision shape, so the hitbox origin now stays within the player.

  • @NoiseCow
    @NoiseCow 5 днів тому

    This is a really good series. Really love the concepts you go through, and all the explaining. Really is a joy. I have done a lot of modification to your code, to fit it my needs. But with your explanations it has been really "easy" to implement the concepts and State machine into my own project. Looking forward to go further in the series.

  • @ryanjohnson2620
    @ryanjohnson2620 5 днів тому

    lol (edit) -- Go to Project -> Open user data folder as he mentions in the video. Much easier than the below. hahaha If anyone is struggling on a mac os operating system the godot docs like I was. The godot documentation describes where the save data should go for "user://" but they are not 100% accurate and it is really not easy to navigate to where the data is actually stored. The docs say it is in Library/Application Support/Godot, but that is inaccurate. It is really stored at: /Users/<your_user>/Library/Application Support/Godot/app_userdata

  • @MaiseyKaitDiaz
    @MaiseyKaitDiaz 5 днів тому

    I hope this series continues on for a long time to come, i look forward to every video i've learned so much, thank you Michael you really changed my life with this series, I think I didn't really achieve a lot of my hopes until now