Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

This is the 22nd episode of unreal engine infinite world generation system.  Yesterday, we implemented a animal spawner which enables us to spawn animals in the world everywhere in the generated infinite terrain. SO, no matter where we go, there will be animals. Today, we are going to implement object pooling pattern to the system. This simply means, when player moves away from a certain area and the animals previously spawned in that area will not be required. But instead of destroying them, we will mark them as available to be replaced, and then when player moves to a new area, those available animals will be relocated, so that the system will not have to spawn them again. This would be better for performance of the game.


Download

password=CLM_WorldEngine

Files

Previews only

Unreal Engine - World Engine #7 - Global Animal Spawner - Object Pooling

Project Files: https://www.patreon.com/posts/95898807 . This is the 22nd episode of unreal engine infinite world generation system. Yesterday, we implemented a animal spawner which enables us to spawn animals in the world everywhere in the generated infinite terrain. SO, no matter where we go, there will be animals. Today, we are going to implement object pooling pattern to the system. This simply means, when player moves away from a certain area and the animals previously spawned in that area will not be required. But instead of destroying them, we will mark them as available to be replaced, and then when player moves to a new area, those available animals will be relocated, so that the system will not have to spawn them again. This would be better for performance of the game. CodeLikeMe Unreal Engine 5 Runtime terrain Generation series: https://www.youtube.com/playlist?list=PLNTm9yU0zou6B6eqrPrRjODBd2OD-BVsh Jetpack Tutorial: https://youtube.com/playlist?list=PLNTm9yU0zou48N6CwJ4EyGjmlBaHRqccr&si=bnFxS_58vt6BeZ9E ► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧! https://www.patreon.com/codelikeme ►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits Join this channel to get access to perks: https://www.youtube.com/channel/UClb6Jh9EBV7a_Nm52Ipll_Q/join Like my facebook page for more content : https://www.facebook.com/gamedevelopersclub/ Follow me on twitter : https://twitter.com/CodeLikeMe2 Follow me on reddit : https://www.reddit.com/user/codelikeme #CodeLikeMe #unrealengine #ue5 #indiegamedev

Comments

No comments found for this post.