Secret weapon how to promote your YouTube channel
Get Free YouTube Subscribers, Views and Likes

Traveling Trees - Explaining My Multimesh Instancer / Godot 4 Tutorial

Follow
devmar

#godottutorial #godotengine

Welcome back to my Godotfocused channel! Today's video is a bit different we're taking a closer look at a script I've been working on one that utilises MultimeshInstance3D to spawn a bunch of trees around the player and make them follow the player around the world whilst remaining motionless at the same time. You can create infinite forests with this, or infinite anything (it doesn't need to be trees). The vid isn't necessarily a tutorial. It's more like a casual analysis, where I'll explain the thought process behind each line.

For those of you who love getting into the nittygritty of game development, this one's for you. We'll be going through the script step by step, so if you're not into the coding game, you might find it a tad boring. But don't worry, I've got a fun devlog planned for the next video. I'll be introducing a new character the Tooth Ferry! Stick around for some lighthearted game design fun.

===================
Link to instancer script:
https://pastebin.com/zSgkTkHb

Link to grid creator script:
https://pastebin.com/1pbHfqHf

Link to optimized instancer script (multithreaded):
https://pastebin.com/crsLyHph

If asked for a pass code, put 'devmar'.

posted by Bonecco5l