#Asset loading
13 messages · Page 1 of 1 (latest)
Probably the most common pattern. If minecraft loaded every Block every time, the performance would probably be pretty lower. I don't have this started yet so I don't know what is the exactly most used pattern, but would probably avoid loading it every time : )
For a voxel game you probably just want to load one big tile-map once when the game starts.
^ this is what minecraft does. You can sometimes see this whole texture on blocks when loading a broken shader
Do you have any examples I can have a look?
I’m struggling quite a bit with making this tbh
I made this originally with the intention of just a proof of concept that I can do it in rust
So I have an array of blocks that stores all the data
Like red stone signal and stuff
Then I want a gui for it
So I looked at bevy and gave it a shot
But it’s actually really hard to integrate with the existing code
I don’t have a tilemap example, but I believe there is a tile map crate floating around somewhere.