Vigyata.AI
Is this your channel?

Unreal Engine 5.1 Endless Runner Tutorial - Part 15: Adding Skyline

5.8K views· 26:02· Jan 4, 2024

🛍️ Products Mentioned (8)

Welcome back to part 15 of our tutorial series for creating an Endless Runner game in Unreal Engine 5.1! In this video, we'll show you how to Spawn Buildings endlessly in Game. KitBash3D Free Neo City kit: https://kitbash3d.com/products/mini-kit-neo-city Assets: https://bit.ly/3pCAXJ7 Note: Before using any of the assets, please make sure to read the Readme 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! -- Timestamps -- 00:00 Disclaimer 00:15 Intro 00:34 Creating Blueprint to Spawn Buildings 04:04 Importing Buildings 06:00 Adding Spawn Points 07:20 Creating Building Blueprints 10:00 Trying to Spawn Buildings 10:35 Mistake 11:05 continuation of Trying to Spawn Building 13:04 Creating another Building Blueprint 14:30 Spawning Building Variations 15:55 Spawning Buildings at Multiple Spawn Points 18:50 Making the Buildings Spawn Endlessly in Level 24:15 Fixing the Spawning of Building Tiles 25:28 Final Gameplay 25:53 Outro Track Title: Tranquility Music by: TeknoAXE Music Link: https://youtu.be/08ddPOJnTL4 // Ignore the tags below. They are provided for reference purposes only. Tags: #gamedevelopment , #unrealengine5 , #animation , #powerups , #endlessrunner , #Subwaysurfers , #tutorial , Endless Runner Tutorial, Game Design, Game Programming, Game Tutorial, Indie Game Dev, Game Development Series, Endless Runner , Game Development for Beginners, Game Development Tutorial, Game Development Step-by-Step, Game Development Walkthrough, 3d Character, Spawning Buildings, Buildings, Skyline, Environment

About This Video

In Part 15 of my Unreal Engine 5.1 Endless Runner series, I add a proper skyline by spawning buildings endlessly on both sides of the running track. I start by duplicating my BP_Floor into a new blueprint called BP_Buildings, then I clean it up (delete the score/speed/extend floor stuff) and keep only what I need—especially the Get Attach Point function so the tiles can chain correctly. After that, I build out the floor width and set up multiple Arrow components as spawn points (SP1–SP6) so I can place buildings across the tile and also mirror them to the opposite side. For the buildings, I use KitBash3D’s free Neo City mini kit and import it through Cargo (the setup is super easy once the plugin is installed). Then I create simple building actor blueprints (BP_Building1, BP_Building2, etc.) and spawn them as Child Actor Components using a Switch on Int driven by Random Integer in Range. I also call out a small mistake I made while recording: splitting transform pins isn’t required here—connect them normally if you want. Finally, I hook BP_Buildings into BP_RunnerGameMode with Add Buildings / Extend Buildings, manage an array to destroy older tiles, and fix common issues like overlapping spawns and gaps by adjusting floor tiles and arrow positions. By the end, the level keeps extending with randomized building variations, giving the runner a believable city backdrop.

Frequently Asked Questions

🎬 More from Shiva's Gaming Zone