Throwable Objects Part II // E39.2 // Make a 2D Action & Adventure RPG in Godot 4

Опубликовано: 19 Март 2026
на канале: Michael Games
3,161
191

In this tutorial we’re going to create a pot as well as a modular node/scene that will allow the hero to pick up and throw objects!

Part I:    • Throwable Objects Part I // E39.1 // Make ...  

Topics Covered: AnimationPlayer, lift, pickup items, carry, throw, state machine, pots, Area2D, get_node, find_child,

New Assets Needed:
player_updates.zip

Asset Download Page: https://michaelgames.itch.io/2d-actio...
GitHub Repo: https://github.com/michaelmalaska/aar...
Discord:   / discord  

--------------------
Chapters
--------------------
0:00 Intro
0:32 Player Lift State
6:36 Update Player Script
7:44 Update player_interact() function in Throwable Script
9:08 Create Carry State Script (empty) and assign it to Node
10:24 Back to Throwable Script
14:24 Disable Collisions on Throwable Object
19:51 Carry State
21:19 Quick detour to set the Lift Audio and Test
27:26 Carry State Handle Input
31:02 Carry State Exit function & State Machine Enhancement
35:13 Throwable Script - Throw Overview and Setup
39:20 get_node and find_child
43:50 Start Throw function
49:57 Start Drop Function
51:42 Throwable physics_process
54:03 Call Drop and Throw in Carry State Exit
55:26 Test it, see problems, fix em
1:00:33 Add More Pots! & Stun State/Drop Testing
1:02:13 Make Thrown Pots Damage the Enemy (enable HurtBox)
1:09:51 Address Picking up Multiple Pots Issue
1:12:45 Update where we call interact_pressed.emit()
1:15:40 Moment of Truth.... Try making a plant Throwable!
1:17:31 Outro
--------------------

Series Playlist:    • Make a 2D Action & Adventure RPG in Godot ...