BLaZeKiLL / VloxyEngine

Performance oriented voxel engine for unity.
MIT License
101 stars 9 forks source link

Help Needed - Custom biomes and floor #123

Open HajiyevEl opened 5 months ago

HajiyevEl commented 5 months ago

Hello! First of all - thank you very much for making VloxyEngine free and opensource!

Can you please help me setup map like shown on screens?

Screenshots

![Screenshot 2024-05-17 225446](https://github.com/BLaZeKiLL/VloxyEngine/assets/70325881/fbab6459-113e-49db-926b-1a6548cce16d) ![Screenshot 2024-05-17 225601](https://github.com/BLaZeKiLL/VloxyEngine/assets/70325881/b9540132-2d2c-4917-ad8b-bdabb6afa73e) ![Screenshot 2024-05-17 225808](https://github.com/BLaZeKiLL/VloxyEngine/assets/70325881/39316ad0-2b7d-41fb-8532-5618b376f284)

  1. I want to be able to set floor unbreakable.
  2. Floor should have empty square in center 'x' by 'x' blocks
  3. Set block color depending on x-blocks from the ground (random range). All blocks higher should be same color.
  4. When destroying block at bottom, i want blocks higher to move to bottom.

Can you show me the way how can i do it? (If it's possible with this voxel engine)

BLaZeKiLL commented 4 months ago

1, 2, 3 should be reasonably simple to do with the current API also check the vertex color sample for colored blocks.

1) this could be a check before calling SetBlock 2, 3) This can be done as part of the Noise Profile

4) this would require significant work. I eventually do want to add block physics but have no idea on how to implement it efficiently