Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3d block procedural generation example #678

Open
8 tasks done
Kravataf opened this issue Aug 14, 2024 · 2 comments
Open
8 tasks done

3d block procedural generation example #678

Kravataf opened this issue Aug 14, 2024 · 2 comments
Labels
✨ New example A new example

Comments

@Kravataf
Copy link

Describe the example

this example generates basic terrain using cubes, there are seeds which determine how the terrain will look like.. (its made using the native 3d) and i added basic fps controller so the player can fly around the terrain, pressing R will reset the scene (on beginning theres random seed each time but that can be changed) also the terrain has size (50x50 blocks by default but can be changed inside of the eventsheet)

Checklist

  • I've followed all of the best practices.
  • My game has a proper name in the game properties.
  • My game package name begins with com.example..
  • My game has all events unfolded.
  • I've added myself as the author in the game properties.
  • I've included a file called "README.md" with a description in proper English, explaining what this example is doing.
  • I confirm that this game and all of its resources can be integrated to this GitHub repository, distributed and MIT licensed.
  • I've cleaned unused resources.

Game folder

3dblockproceduralgeneration.zip

@Kravataf Kravataf added the ✨ New example A new example label Aug 14, 2024
@Kravataf
Copy link
Author

also to snap the blocks to the grid on the z (elevation) axis the z of each block should be set to roundTo(block.noiseColor*2,-2) (in the example its block.noiseColor) not snapping to the grid makes it more smooth

@Kravataf Kravataf changed the title 3d block procedural generation 3d block procedural generation example Aug 21, 2024
@Clyders
Copy link

Clyders commented Oct 17, 2024

NumberVariable extension is missing bruh...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ New example A new example
Projects
None yet
Development

No branches or pull requests

2 participants