Vigyata.AI
Is this your channel?

Unreal Engine 5.1 Endless Runner Tutorial - Part 3: Adding Floor Tiles

22.1K views· 10:22· Jul 6, 2023

🛍️ Products Mentioned (7)

Welcome back to the third part of our tutorial series for creating an Endless Runner game in Unreal Engine 5.1! In this video, we'll show you how to add the auto generating floor to the game. Stay tuned for more updates in our tutorial series, and don't hesitate to ask any questions in the comments section. Assets: https://bit.ly/3pCAXJ7 Note: Before using any of the assets, please make sure to read the Readme.txt file provided. Get the Endless runner project files here: https://shop.shivadev.com/b/erprojectfiles Note: The project files are constantly updated to reflect the latest tutorial in the series. Stay Connected: Discord: https://discord.gg/zFZ43Hjs3R Twitter: https://twitter.com/shivasgaming75 GitHub: https://github.com/Shiva9168 Instagram: https://www.instagram.com/shivas_gamingzone/ Portfolio: https://shiva9168.github.io/ Email: shivasgaming75[at]gmail.com Support Me: Patreon: https://patreon.com/shivasgaming PayPal: https://paypal.me/Shivasgaming Help me make more content by donating! 00:00 Intro 00:10 Creating Floor Blueprint 02:42 Adding Floor Generation Functions 07:58 Creating Floor Material 09:00 Adding Floor Blueprint to the Level 09:29 Floor Generation Preview 09:49 Fixing Character Slowdown 09:58 Final Preview 10:12 Outro Track Title: A New Spire Music by: TeknoAXE Music Link: https://youtu.be/y5LnbMDbaq8 // Ignore the tags below. They are provided for reference purposes only. Tags: #gamedevelopment , #unrealengine5 , Endless Runner Tutorial, Game Design, Game Programming, Game Tutorial, Indie Game Dev, Game Development Series, Endless Runner, #Subwaysurfers , #tutorial , Game Development for Beginners, Game Development Tutorial, Game Development Step-by-Step, Game Development Walkthrough, 3d Character, unreal character, #animation

About This Video

Hey guys, welcome back to part 3 of my Unreal Engine 5.1 Endless Runner series. In this video I focus on one of the most important systems for an endless runner: the floor tiles, and how to make them auto-generate forever while you play. I start by creating a new Actor blueprint called BP_Floor, then I set up the components properly (Cube, Arrow, and Box Collision — added separately, not parented). From there I dial in the transforms (like scaling the cube to 10, 10, 0.5 and pushing the Arrow to X=500) and set the Box Collision to overlap only with the Pawn, so it can trigger the next tile spawn at the right time. After that, I jump into BP_RunnerGameMode and build the core logic with functions like Add Floor and Extend Floor. I store the attach transform in a Floor Attach Point variable, keep spawned tiles in a Floor Tiles array, and use a loop on Begin Play to spawn an initial batch (I usually keep Number of Tiles between 10 and 20 — I picked 15). I also show how to create a quick floor material using the textures from the link, apply it to the cube, and rotate the tile 90 degrees on Z. Finally, I fix a weird slowdown bug by changing the Addition node value from 1 to 2 in Extend Floor, and you’ll see the floor generating smoothly as the character runs.

Frequently Asked Questions

🎬 More from Shiva's Gaming Zone