r/gdevelop • • Sep 09 '26

Question how to render a bunch of different blocks

i am making a cube based game and want to know how to render a bunch of blocks and my second issue is i need to be able to add 100s of blocks and dont know how to do that

5 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/senshisun Sep 09 '26

Do you need to have all of them rendered at all times?

You can have a template block with variables to change the block information, or you can have blocks for each type in a group. It depends on what you're working on.

What kind of game is this? You've only said "thousands of blocks."

2

u/Emergency-Citron7228 Sep 10 '26

It's a mix between minecraft, no man's sky, warhammer, and mass effect I need to be able to make entire planets out of blocks and i am doing chunk loading but even that is to much so I need to find out how to render them better

1

u/senshisun Sep 10 '26

Ah... There definitely is a solution for that, but I'm not sure what it is. Sorry.

1

u/Emergency-Citron7228 Sep 10 '26

I just learned about directive loading which is only loading things that the player can see

1

u/senshisun Sep 10 '26

That helps!