Explore 3D

This is a game based on exploring the area around you. There is no real goal, but there are forests, a minimap with zoom, and the world goes on infinitely, because the ground moves with the camera. Use WASD to move, and arrow keys to look.

On lines 268-271, you will find you can customize the forest(x,y,size,num) and if you choose can generate them instead (generateForests()(beta)). Also you should find the trees are of varying heights – this is due to line 113, which is a randomizer which pivots around 50 by 7.5 in each direction. Feel free to mess around with these settings, and share me your creations in the comments!

Forest function:

int x, int y

Sets the position of the trees where x is west – east and y is north-south.

int size

Sets how widespread the area is that the forest covers. (This does not mean it will fill the area to the edge)

int num

Sets how many trees to put in the forest.

My project

View project

Leave a Reply

Your email address will not be published. Required fields are marked *