Custom Footstep Audio using TileSets & Custom Data Layers //// Make a 2D AARPG in Godot 4 // E64

Опубликовано: 31 Май 2026
на канале: Michael Games
3,148
171

In this tutorial we will create a new footstep audio scene, set up custom data layers in a Tilemap layer's TileSet, and create dynamically updated footstep sound effects for our player!

Topics Covered: TileMapLayer, TileSet, Custom Data Layer, AudioStreamPlayer2D, AudioStreamRandomizer, Node Groups

New Assets Used:
miscellaneous.zip (footstep audio files)

Asset Download Page: https://michaelgames.itch.io/2d-actio...

--------------------
Chapters
--------------------
00:00 Intro
00:35 Overview
03:03 Set up FootstepAudio2D Scene & Script
06:01 play_footstep() function
07:04 Add FootstepAudio2D scene to player
07:28 Add play_footstep() call to animations
09:01 Test basic implementation of FootstepAudio2D on player
10:05 Add footstep audio variants to array
11:25 Add custom data layer to TileMapLayer/TileSet
13:13 Paint data layer property values into TileSet
14:49 "Connect the Dots" set up Node Group
17:59 Create get_footstep_type() function
29:01 Bug & solution
31:00 First successful test
31:33 Null check
32:04 Test other tilemaps
32:45 Add AudioStreamRandomizer
37:44 Fine tune footstep audio
38:53 Outro
Thank you Patreon supporters!!!
--------------------

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

GitHub Repo: https://github.com/michaelmalaska/aar...
AARPG Trello Board: https://trello.com/b/9PlGOAZv/aarpg-t...

Join our discord community!
Discord:   / discord  

Become a Patreon member to get exclusive access to Michael, and more: https://www.patreon.com/c/user?u=2630...