A Simple Chunk Handling System in Godot (C# and GDscripts).

  Рет қаралды 17,505

Nesi

Nesi

Күн бұрын

Пікірлер: 60
@oladoyinimolehin2161
@oladoyinimolehin2161 3 жыл бұрын
👏👏😭 short and precise tutorial Thank you nesiiiiii❤️❤️
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Thank you so much ❤️❤️
@himeto3170
@himeto3170 3 жыл бұрын
Video? Liked Channel? Subscribed Hotel? Trivago Keep making those chief
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Thanks man
@EricDaily
@EricDaily 3 жыл бұрын
Solid tutorial!!! Thanks for making :)
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Oh my God my first comment wooww 😂😂💔
@robertcrawford52
@robertcrawford52 5 ай бұрын
Thanks for the useful tutorial on chunking! Very helpful!
@NesiAwesomeness
@NesiAwesomeness 5 ай бұрын
Glad it was helpful!
@patrickboluwatife8982
@patrickboluwatife8982 3 жыл бұрын
Wow I feel like the more I watch your videos the more I know stuff, I never thought I would know, I LIKE IT😮
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Thank you ❤️❤️😂😂
@hinahammad1047
@hinahammad1047 5 ай бұрын
legend is back
@oladoyinimolehin2161
@oladoyinimolehin2161 3 жыл бұрын
My favorite youtuber 😭❤️😭❤️
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
❤️😂😂😂
@oladoyinimolehin2161
@oladoyinimolehin2161 3 жыл бұрын
We love youuuu❤️❤️❤️
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Yaaaay😂😂❤️
@nemene8585
@nemene8585 3 жыл бұрын
You are beeg epic! Thanks!
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Thank you
@ZgavY
@ZgavY 2 жыл бұрын
Didn't expect to see you here
@nemene8585
@nemene8585 2 жыл бұрын
@@ZgavY I am everywhere
@skullkid
@skullkid 2 жыл бұрын
Very good tutorial, I'm trying the same but where every chunk is a individual scene. I'll took ideas. Thank you.
@GameInOne
@GameInOne 2 ай бұрын
ANy way to optimize this ? SO if im trying to draw it in full screen how can i make it smoother ?
@IvanSkodje
@IvanSkodje 3 жыл бұрын
I will be bringing this video up during the next stream while replacing the horrid system I hacked together :o :o +1
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Oh wow, I've made an update to the code, I'll link that soon I hope 😂😂😂💔
@IvanSkodje
@IvanSkodje 3 жыл бұрын
​ @Nesi Appreciate it, but don't rush for my sake! The ideas and concepts you have demonstrated is probably more than enough to get me going. I hope that by reimagining this, it will allow me to only send needed data to the clients (multiplayer) instead of the entire list of what they know. Might take a session or two with tweaking to get right, I suspect
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
@Ivan Skodje oh for sure. I'm not rushing it, I've already made, I just haven't put a link to it in the description of this video 😂. The major difference with this one and the new one is that it uses resources and not arrays when it comes to storing chunk data
@IvanSkodje
@IvanSkodje 3 жыл бұрын
@@NesiAwesomeness Ill take a peek at it later! :)
@IvanSkodje
@IvanSkodje 3 жыл бұрын
@@NesiAwesomeness Brain smol. Need more time to process and figure out what you are doing in the code, continuing tomorrow :D Thanks so far!
@RafaelSales55
@RafaelSales55 3 жыл бұрын
hey, thank you for the tutorial. Do you belive the process for 3d is the same?
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Yh it should be
@marinhoutube
@marinhoutube 2 ай бұрын
I applied this code to my 3d game and it worked fine. Just some adjustments were needed of course.
@violetwagstaff5709
@violetwagstaff5709 3 жыл бұрын
Would this work to load parts chunks of a map instead of loading the whole thing? If so, how might one do something like that? Would you make the exact same size map chunks and save them as different scenes? Or is there an easier way to do something like this?
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
I don't understand this question
@violetwagstaff5709
@violetwagstaff5709 3 жыл бұрын
@@NesiAwesomeness Well. I want to have a system so that it loads my 2D map in chunks around the player instead of the entire map at once. How would I implement this chunk system into that?
@nevernerevarine8071
@nevernerevarine8071 8 ай бұрын
@@violetwagstaff5709 Did you ever find a solution? I know its been a few years but I am dabbling and looking at doing the same thing; having 2d tileset chunks that load around the player
@LeTrungHoc-xk2wr
@LeTrungHoc-xk2wr 5 ай бұрын
bro my variable "player" is null, please help me
@NesiAwesomeness
@NesiAwesomeness 5 ай бұрын
Are you making the variable "onready" and make sure you're actually setting to something
@Diego-mq3ws
@Diego-mq3ws Жыл бұрын
i used your code and notice that entire rows or columns inside de render distance are loaded at once, what should i do if i want to limit the loaded chunks to one per frame or even less? like mincraft does
@Pfffffffffffff
@Pfffffffffffff 3 жыл бұрын
How do you do this but using scenes containing tilemaps? What would I need to change?
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Instead of adding a chunk as a child of the world generator just set_cell(x, y, value) And Instead of removing the chunk or calling it's save func You can just set_cell(x, y, -1)
@Pfffffffffffff
@Pfffffffffffff 3 жыл бұрын
@@NesiAwesomeness but this would only set the cells of a single tile map, is there not a way to use nodes containing a tilemap each and to turn those on and off?
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
@@Pfffffffffffff well just use this and instance the node containing tile maps in them as the chunks
@Pfffffffffffff
@Pfffffffffffff 3 жыл бұрын
@@NesiAwesomeness thanks, I’ll try and hack it together
@Pfffffffffffff
@Pfffffffffffff 3 жыл бұрын
@@NesiAwesomeness Hi, I got it working, wasn´t too difficult but I did have to manually enter the number of pixels for the size of the tilemap. Now it repeats the same tilemap on all axes, how can I use a different tilemap for each chunk?
@ZgavY
@ZgavY 2 жыл бұрын
I already implemented a chunk system in my game (which is not made with Godot) and I'm having a dilemma. I want to make it so that certain objects can move or rotate around other objects (which will obviously change its position). This, however, will break the entire chunk system. How would I solve this? I was thinking of checking the position each time you change it, and if the object is not in the same chunk anymore it is transferred to the actual chunk it's in. But I think that would be very performance heavy, and also quite stupid.
@neverix_3600
@neverix_3600 Жыл бұрын
i dont think it would be that performance breaking
@ZgavY
@ZgavY Жыл бұрын
@@neverix_3600 yeah actually it isn't at all lol works like a charm
@aaronmaldonado6562
@aaronmaldonado6562 6 ай бұрын
"With great power comes great responsibility." --Albert Einstein
@NesiAwesomeness
@NesiAwesomeness 6 ай бұрын
He totally said that, I was there
@gamerguy8261
@gamerguy8261 2 жыл бұрын
Thx
@NesiAwesomeness
@NesiAwesomeness Жыл бұрын
You're welcome
@oladoyinimolehin2161
@oladoyinimolehin2161 3 жыл бұрын
👏👏👏👏👏👏
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
Yay
@lkasikakalus123
@lkasikakalus123 3 жыл бұрын
thanks you so much.
@NesiAwesomeness
@NesiAwesomeness 3 жыл бұрын
You are most welcome
Optimization Tutorial: OCCLUSION CULLING in Godot
8:29
BETTER 2D visuals in 7 EASY TIPS
10:38
MrEliptik
Рет қаралды 75 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 66 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Modular Upgrades Made Easy Using the Strategy Pattern
6:41
Bitlytic
Рет қаралды 86 М.
Saving and loading games with Godot
1:09:38
Godotneers
Рет қаралды 64 М.
Algorithm behind huge Terrain in Godot
15:46
mohsen zare
Рет қаралды 9 М.
Coding Challenge || World Chunk System
10:25
Maridany
Рет қаралды 1,3 М.
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,6 МЛН
I made an EVEN BETTER Minecraft
12:30
SimonDev
Рет қаралды 332 М.
I Made My First Game in Godot in 3 Weeks...
26:21
Jack Sather
Рет қаралды 455 М.
AutoTiles OpenSimplex Noise Procedural Generation Godot 3.1 Tutorial
16:39
Gingerageous Games
Рет қаралды 37 М.
Draw fewer tiles - by using a Dual-Grid system!
6:22
jess::codes
Рет қаралды 679 М.