of course! there is nothing to generate. because with tile maps its already a grid, its one solid object, and you can control it with just values. no pick this object, no calculating grid, none of that. you can just set the tiles. you may even want to use this for the block placing if you want
Yes I have made tilemaps before in my games. But I wanted an infinite generated world you see, which is why I’m usign objects
Minecraft somehow can keep loading in more objects as you travel, which is the ultimate way I would like my game to work, so you can endlessly explore the land, not one pre formatted tilemap (which I have done before)
Very true! Didn’t realise that. Do you know how I would go about generating a terrain out of a tilemap?
…no. id need to see your project so i know what youre doing for terrain
Did it have guns or zombies in it?
not yet, I’m thinking orcs and swords more likely
You can do what mine craft does, basically you have chunks in the world, and omce loaded you save that to your storage(with the new save/load feature), and every tine you load new terrain it adds more to the storage which is usually extreemly small file sizes turning processing based elementd storage based elements. This might complicate multiplayer down the road but its still possible
thanks, how would you loaded the chunks? Is the whole world instructions generated in one shot or what?
Basically instead of generating all the blocks at once, you can generate them chunk by chunk. In minecraft, a chunk is an even sized group of blocks that are loaded in based on render distance, in your game the render distance is the edge of your screen, so you can have an object that goes around the screen looking for unloaded blocks on a grid and if there are, it generates a perlin noise map there that links with tge chunks around it
Thanks a lot! I’m not very smart at this kind of thing, are you able to create a simple event to show me how its done, if you can? Right now I can generate one group of blocks, not sure how to check for unloaded blocks and generate new maps.
Np. If you need more help I probably wont respond for a while since its late for me but I would suggest watching some videos about how voxel map generation works to get a bigger picture on it.
Thanks a lot I will try!
Tilemaps will be more optimized. It barely works for me. A tilemap can replace more than 5 objects, which will improve performance.
y…yes? maybe? defintely zombies
if you need more help, i can help. i did this before, just only poorly.
Yes help would be great! If you can figure how to make procedurally generated tilemaps that load in as you travel that would be so so so great
sigh…alrighty, may i have the project file? or do you just want me to make a very well documented project
I can’t send the file through here, somehow
